>> Yihui Xie <xie at yihui.name> >> on Wed, 3 Oct 2012 08:13:20 -0500 wrote: > I think a less intrusive way is to be able to set the R function as > (if (require('knitr')) knit else Sweave) That can be, but would mean that there is no way to call Sweave when knitr is loaded. I a bit undecided. Vitalie