Set PATH environment variable for R and Rtools in Windows

Image credit: John Moeses Bauan

Set PATH environment variable for R and RTools in Windows

  • In System Properties > choose the Advanced tab > Environment Variables: env1.PNG

  • In the lower part (System variables), double-click on the entry Path: 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: env3.PNG

Avatar
Sebastian Hanß
PhD student & Scientific programmer

spatial ecology, biodiversity and ecosystem functioning, savanna and dryland ecology, concepts and theoretical ecology and dynamic simulation models.