system variable within R

To let R know about the compiler, we need to modify the ~/.Renviron. You may need to create the file by running in Terminal (Applications -> Utilities):

touch ~/.Renviron

Then, inside of ~/.Renviron add:

PATH="/usr/local/clang7/bin:${PATH}"

See http://thecoatlessprofessor.com/programming/r-compiler-tools-for-rcpp-on-macos/ 

Commentaires

Posts les plus consultés de ce blog

Standard error from Hessian Matrix... what can be done when problem occurs

stepAIC from package MASS with AICc

Install treemix in ubuntu 20.04