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]]
On 28/04/2020 5:57 a.m., Steven T. Yen 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.Presumably you didn't put it on your path, or you used a non-standard way to build. You need to say what command you used. Duncan Murdoch
Thanks. I visited the Rtools web page and learned to run the following
lines. I am still getting the same warning message.
> writeLines('PATH="${RTOOLS40_HOME}\\usr\\bin;${PATH}"',
con =
"~/.Renviron")
> Sys.which("make")
????????????????????????????? make
"C:\\rtools40\\usr\\bin\\make.exe"
On 2020/4/28 ?? 08:39, Duncan Murdoch wrote:> On 28/04/2020 5:57 a.m., Steven T. Yen 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.
>
> Presumably you didn't put it on your path, or you used a non-standard
> way to build.? You need to say what command you used.
>
> Duncan Murdoch