RStudio is an IDE for working with the programming language R. It also has in-built functionality for compiling .Rnw files to .tex files and then directly to .pdf files. It can be set up to process the .Rnw file with either Sweave or knitr.

RStudio is an IDE for working with the programming language R.

It also has in-built functionality for compiling .Rnw files (which are basically .tex files that include R source code) to .tex files and then directly to .pdf files. It can be set up to process the .Rnw file with either or . And it can be set up to process the resulting .tex file with either or .