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

Re: [R] Rtools required

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

Re: [R] Rtools required

2020-04-30 Thread Duncan Murdoch
ou'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 get what I think should be

Re: [R] Rtools required

2020-04-30 Thread Steven
t: 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 Gunter "The trou

Re: [R] Rtools required

2020-04-30 Thread Steven
;. 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 ?"environment variables&qu

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
" 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 Type ?.Re

Re: [R] Rtools required

2020-04-29 Thread Bert Gunter
en 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

Re: [R] Rtools required

2020-04-29 Thread Henrik Bengtsson
> > -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 > >

Re: [R] Rtools required

2020-04-29 Thread Fox, 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 variables"

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

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

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

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

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

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"

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

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

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 >

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 Rtoo

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

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

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:

[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

[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