Re: [R] Rtools required

2020-05-01 Thread Steven
Thank you all. In sum, installing packages from RStudio 1.2.5042 without Rtools present, I received warnings saying RTools required but installation nevertheless was successful. Installing from R-4.0.0 directly, I have no problem. This is obviously an RStudio problem but unfortunately they are

Re: [R] Rtools required

2020-04-30 Thread Jeff Newmiller
d idea, in my opinion, in Folder Options > View to click "Show >hidden files" and uncheck "hide extensions". Then .Renviron should show >up (once you've created it). >>>> >>>> Best, >>>>John >>>> >>>>

Re: [R] Rtools required

2020-04-30 Thread Duncan Murdoch
ould show up (once you've created it). Best, John -Original Message- From: Bert Gunter Sent: Wednesday, April 29, 2020 5:50 PM To: Steven Cc: Fox, John ; R-help Mailing List Subject: Re: [R] Rtools required Type ?.Renviron ?R.home ?"environment variables" at the R prompt to g

Re: [R] Rtools required

2020-04-30 Thread Steven
om: Bert Gunter Sent: Wednesday, April 29, 2020 5:50 PM To: Steven Cc: Fox, John ; R-help Mailing List Subject: Re: [R] Rtools required Type ?.Renviron ?R.home ?"environment variables" at the R prompt to get what I think should be the info you need (or at least useful info). Bert Gu

Re: [R] Rtools required

2020-04-30 Thread Steven
ide extensions". Then .Renviron should show up (once you've created it). Best, John -Original Message- From: Bert Gunter Sent: Wednesday, April 29, 2020 5:50 PM To: Steven Cc: Fox, John ; R-help Mailing List Subject: Re: [R] Rtools required Type ?.Renviron ?R.home ?"

Re: [R] Rtools required

2020-04-30 Thread Jeroen Ooms
On Wed, Apr 29, 2020 at 11:37 PM Steven 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 =

Re: [R] Rtools required

2020-04-29 Thread Spencer Graves
click "Show hidden files" and uncheck "hide extensions". Then .Renviron should show up (once you've created it). Best, John -Original Message- From: Bert Gunter Sent: Wednesday, April 29, 2020 5:50 PM To: Steven Cc: Fox, John ; R-help Mailing List Subject:

Re: [R] Rtools required

2020-04-29 Thread Bert Gunter
lick "Show hidden files" > > and uncheck "hide extensions". Then .Renviron should show up (once you've > > created it). > > > > Best, > > John > > > >> -Original Message- > >> From: Bert Gunter > >> Sent: Wedne

Re: [R] Rtools required

2020-04-29 Thread Henrik Bengtsson
). > > Best, > John > > > -Original Message- > > From: Bert Gunter > > Sent: Wednesday, April 29, 2020 5:50 PM > > To: Steven > > Cc: Fox, John ; R-help Mailing List > project.org> > > Subject: Re: [R] Rtools required > > > >

Re: [R] Rtools required

2020-04-29 Thread Fox, John
Best, John > -Original Message- > From: Bert Gunter > Sent: Wednesday, April 29, 2020 5:50 PM > To: Steven > Cc: Fox, John ; R-help Mailing List project.org> > Subject: Re: [R] Rtools required > > Type > ?.Renviron > ?R.home > ?"environment variabl

Re: [R] Rtools required

2020-04-29 Thread Bert Gunter
Type ?.Renviron ?R.home ?"environment variables" at the R prompt to get what I think should be the info you need (or at least useful info). Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Blo

Re: [R] Rtools required

2020-04-29 Thread Steven Yen
Thanks. Can you kindly tell me what to read to do it the "standard way"? 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 B

Re: [R] Rtools required

2020-04-29 Thread Steven Yen
In RStudio, I enter File -> Open Project -> and browse to open a .Rproj file. Then, I click Build -> Build Binary Package. Thanks. 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 line

Re: [R] Rtools required

2020-04-29 Thread Steven Yen
Thanks. Updating RStudio to 1.2.5042 did fix the problem. Thank you! On 2020/4/28 下午 11:30, Duncan Murdoch wrote: 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 Ex

Re: [R] Rtools required

2020-04-29 Thread Steven
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")   

Re: [R] Rtools required

2020-04-29 Thread Steven
Thanks John. Where is file .Renviron located? It must be a hidden file. I cannot find it. On 2020/4/28 下午 08:29, Fox, John wrote: 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 help

Re: [R] Rtools required

2020-04-29 Thread Steven Yen
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" O

Re: [R] Rtools required

2020-04-28 Thread Wang Jiefei
I do not exactly know what is going on with your problem but it is better to use the old-school method to install the package so that you can avoid any problems with Rstudio. >From your post, I guess you are using Windows, so please see this link for how to add the Rtools and R to the environment

Re: [R] Rtools required

2020-04-28 Thread Duncan Murdoch
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'

Re: [R] Rtools required

2020-04-28 Thread Duncan Murdoch
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

Re: [R] Rtools required

2020-04-28 Thread Duncan Murdoch
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="${RTOO

Re: [R] Rtools required

2020-04-28 Thread Fox, John
Dear Steven, > -Original Message- > From: Steven > Sent: Tuesday, April 28, 2020 9:50 AM > To: Fox, John > Cc: R-help Mailing List > Subject: Re: [R] Rtools required > > Hello John, > > Perhaps you can help me. I am an idiot. I visited the Rtools w

Re: [R] Rtools required

2020-04-28 Thread Richard M. Heiberger
did you change your path to the new location? On Tue, Apr 28, 2020 at 07:25 Steven 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

Re: [R] Rtools required

2020-04-28 Thread Duncan Murdoch
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 y

Re: [R] Rtools required

2020-04-28 Thread Fox, John
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: htt

[R] Rtools required

2020-04-28 Thread Steven
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 package

[R] Rtools required

2020-04-28 Thread Steven T. Yen
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 package