Install R
![install R image 1](images/install_R_1.png)
![install R image 2](images/install_R_2.png)
![install R image 3](images/install_R_3.png)
![install R image 4](images/install_R_4.png)
![install R image 5](images/install_R_5.png)
![install R image 6](images/install_R_6.png)
![install R image 7](images/install_R_7.png)
![install R image 8](images/install_R_8.png)
Install Rtools
![install Rtools image 1](images/install_Rtools_1.png)
![install Rtools image 2](images/install_Rtools_2.png)
![install Rtools image 3](images/install_Rtools_3.png)
![install Rtools image 4](images/install_Rtools_4.png)
![install Rtools image 5](images/install_Rtools_5.png)
The following picture shows your system path with the modifications made by Rtools.
![install Rtools image 6](images/install_Rtools_6.png)
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](images/install_Rtools_7.png)
![install Rtools image 8](images/install_Rtools_8.png)
![install Rtools image 9](images/install_Rtools_9.png)
Install MiKTeX
To install MiKTeX just download the installer from
http://miktex.org/download.
![install MiKTex image 1](images/MiKTex_1.png)
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](images/MiKTex_2.jpg)