Rtools is not being detected from RStudio
I have no idea why RStudio has such kind of problems from time to time but there is a manual work-around described here: https://github.com/rwinlib/r-base/wiki/Testing-Packages-with-Experimental-R-Devel-Build-for-Windows Basically you have to set two environment variables to point to the correct installation path of Rtools: Sys.setenv(PATH = paste(“C:/Rtools/bin”, Sys.getenv(“PATH”), sep=”;”)) Sys.setenv(BINPREF = “C:/Rtools/mingw_$(WIN)/bin/”) To avoid losing this change after … Read more