On Wed, Apr 29, 2020 at 11:37 PM Steven <s...@hqu.edu.cn> wrote: > > Hello John, > > Perhaps you can help me. I am an idiot. I visited the Rtools web page > and learn to run the following lines in R: Still I am getting the same > warning message. > > > writeLines('PATH="${RTOOLS40_HOME}\\usr\\bin;${PATH}"', con = > "~/.Renviron") > > Sys.which("make") > make > "C:\\rtools40\\usr\\bin\\make.exe"
That looks OK. Did you restart rstudio? How exactly are getting this error? Are you using install.packages() in R? Or using the pkgbuild package? Also are you running the latest version of rstudio? I think old versions may have had difficulty finding rtools40. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.