[R] Rtools required

Jeroen Ooms jeroenoom@ @end|ng |rom gm@||@com
Thu Apr 30 10:38:52 CEST 2020


On Wed, Apr 29, 2020 at 11:37 PM Steven <syen using 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.



More information about the R-help mailing list