Stat 506 knitR

knitr requires R 2.14.0 or better.
It is now supported in the RStudio. In your Tools :: Options sclick Sweave and choose "Weave Rnw files with : knitr

You must have installed the knitr package as in
install.packages('knitr', dep=T)
And you must have a version of LaTeX, usually MikTex on Windows or texLive on Linux. You may also want a frontend for that like TeXMaker on Windows.

Options

knitR website