Skip to content

Set PATH environment variable for R and RTools in Windows

  • In System Properties > choose the Advanced tab > Environment Variables: ../attachments/env1.png
  • In the lower part (System variables), double-click on the entry Path: ../attachments/env2.png

  • 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: ../attachments/env3.png