Set PATH environment variable for R and Rtools in Windows
Set PATH environment variable for R and RTools in Windows
-
In System Properties > choose the Advanced tab > Environment Variables:
-
In the lower part (System variables), double-click on the entry Path:
-
Check if the bin-Folders of both, your R-installation and your Rtools are in your PATH (just hit New and add the path if they’re missing). Make sure, that Rtools\bin comes before R\bin as shown below: