How to install RTools without edit %PATH% to build from source?



I found some good packages without binary so have to build from source using RTools to install, but I have no right to edit the PATH.

Is there any method to bypass editing PATH and can build from source successfully?


Have you installed Rtools already ?

You can modify the path in R only as their is a PATH environment variable acessible.
You can modify at startup using .Renviron file or modify in code using Sys.setenv or the helper function in devtools: devtools::add_path() (see documentation)
I think it could work for what you want to do.

Know that on windows, you can set environment variables for your user only without any admin rights. Typing PATH in windows search could lead to the right menu to modify account environment variable (not system ones)