Install R

install R image 1

install R image 2

install R image 3

install R image 4

install R image 5

install R image 6

install R image 7

install R image 8


Install Rtools

install Rtools image 1

install Rtools image 2

install Rtools image 3

install Rtools image 4

install Rtools image 5

The following picture shows your system path with the modifications made by Rtools.

install Rtools image 6

If the location of your R path is not listed, you have to add it like in the picture below which contains an example for R Version 3.1.1 64bit.

install Rtools image 7

install Rtools image 8

install Rtools image 9


Install MiKTeX

To install MiKTeX just download the installer from http://miktex.org/download.

install MiKTex image 1

To use MiKTeX with Sweave you have to add a parent directory of the location of Sweave.sty to the registered root directories of MiKTeX.
MiKTeX searches all the subdirectories of the registered root directories for necessary files.
If your R path is "C:\Program File\R\R-3.1.1" you can add "\share\texmf" to it which will result in "C:\Program File\R\R-3.1.1\share\texmf", like shown in the picture below.

install MiKTex image 2