I try to follow the manual at http://adv-r.had.co.nz/Rcpp.html to understand Rcpp but I always need to run devtools::find_rtools() before any Rcpp function will work: If I doing
library(devtools) library(Rcpp) has_devel()
I get an error and Rstudio offers me to install additional build tools (but nothing happens when I say yes). It seems that the make command does not work, but system("where make") indicates the path that is in my PATH. When i do
find_rtools()
both devtools and rcpp seem happy. Why is this and how can I fix it?
Here is the beginning of my PATH
path <- get_path() head(path, 8) [1] "F:\\Software\\R-3.3.0\\bin\\x64" "F:\\Software\\Rtools\\bin" [3] "F:\\Software\\Rtools\\gcc-4.6.3\\bin" "F:\\Software\\Python 3\\Scripts\\" [5] "F:\\Software\\Python 3\\" "F:\\Software\\Rtools\\bin" [7] "F:\\Software\\Rtools\\gcc-4.6.3\\bin" "C:\\Program Files (x86)\\Intel\\iCLS Client\\"
r rcpp devtools
luoar
source share