Dear Steven, Did you follow the instruction on the Rtools webpage to add
PATH="${RTOOLS40_HOME}\usr\bin;${PATH}" to your .Renviron file? I hope this helps, John ----------------------------- John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada Web: http::/socserv.mcmaster.ca/jfox > On Apr 28, 2020, at 4:38 AM, Steven <s...@hqu.edu.cn> wrote: > > Dear All > > I updated to R-4.0.0. and also installed the latest Rtools 4.0 (to now > the new default folder c:\rtools40). While compiling a package (binary) > I received the follow marning message saying Rtools is required. Any > clues? Thanks. > > Steven Yen > > WARNING: Rtools is required to build R packages but is not currently > installed. Please download and install the appropriate version of Rtools > before proceeding: https://cran.rstudio.com/bin/windows/Rtools/ > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. ______________________________________________ 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.