On 28/04/2020 11:16 a.m., Steven Yen wrote:
Thanks. Can you kindly tell me what to read to do it the "standard way"?

Start with ?INSTALL, and find more details in the Writing R Extensions manual. I believe RStudio can be configured to use those tools rather than the devtools ones, but I don't know if it will still run its test for Rtools if you do it that way.

I imagine you can also update RStudio and all of your packages; eventually that will work, if this is really the issue.

Duncan Murdoch

Also, where can I find file .Renviron.

On 2020/4/28 下午 11:08, Duncan Murdoch wrote:
On 28/04/2020 11:02 a.m., Steven Yen wrote:
In RStudio, I enter File -> Open Project -> and browse to open a .Rproj
file. Then, I click Build -> Build Binary Package. Thanks.

Do it the standard way instead of using devtools.

Duncan Murdoch


On 2020/4/28 下午 10:55, Duncan Murdoch wrote:
On 28/04/2020 9:56 a.m., Steven Yen wrote:
Thanks. I visited the Rtools web page and learned to run the following
lines. I am still getting the same warning message.

And you are still not telling us what command you used to trigger that
message.

Duncan Murdoch


    > 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



______________________________________________
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.

Reply via email to