Re: [R] Rtools and things dependent on it

2024-03-14 Thread Tomas Kalibera



On 2/24/24 01:01, David Winsemius wrote:

On 2/23/24 14:34, avi.e.gr...@gmail.com wrote:

This may be a dumb question and the answer may make me feel dumber.
   
I have had trouble for years with R packages wanting Rtools on my machine

and not being able to use it. Many packages are fine as binaries are
available. I have loaded Rtools and probably need to change my PATH or
something.


I suppose making sure that whatever directory holds your Rtools code is
on your path would be a good idea. I wondered if there's an environment
variable that could be set, but reading the page on using Rtools did not
mention one until I got down to the section on building R from source
which is surely NOT what you want to do.. You should read the
information on installation and building packages from source.
https://cran.r-project.org/bin/windows/base/howto-R-devel.html which
includes this sentence:

"It is recommended to use the defaults and install into|c:/rtools43|.
When done that way, Rtools43 may be used in the same R session which
installed it or which was started before Rtools43 was installed."
Yes, for regular users, who just want to install R packages on Windows 
from source (packages that include C, C++ of Fortran code), all that is 
needed is to:


- install R from the official installer provided by CRAN

- install Rtools (also from CRAN) for that version of R (so Rtools42 for 
R 4.2, Rtools43 for R 4.3, Rtools44 for R-devel/to become R 4.4)


If both is done accepting the defaults, no additional configuration is 
needed. R will automatically find Rtools when it needs it. One can have 
multiple versions of R and multiple versions of Rtools installed on the 
system, R will find and use the version of Rtools it needs.


Tomas



   
But I recently suggested to someone that they might want to use the tabyl()

function in the janitor package that I find helpful. I get a warning when I
install it about Rtools but it works fine. When they install it, it fails. I
assumed they would get it from CRAN the same way I did as we are both using
Windows and from within RSTUDIO.
   
In the past, I have run into other packages I could not use and just moved

on but it seems like time to see if this global problem has a work-around.
   
And, in particular, I have the latest versions of both R and RSTUDIO which

can be a problem when other things are not as up-to-date.
   
Or, maybe some people with R packages could be convinced to make binaries

available in the first place?

Binaries are automatically produced by CRAN but perhaps you are trying
to install from some other source? It would help if you could be
specific about several missing pieces of information: Operating system,
R version, Rtools version, current location of Rtools, names of packages
and where they were obtained.


Regards and good luck;

David (a.k.a IRTFM)


Avi

[[alternative HTML version deleted]]

Rhelp is a plain text mailing list. You should configure your email
client to send only plain-text and NOT html.
[[alternative HTML version deleted]]

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


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


Re: [R] Rtools and things dependent on it

2024-02-23 Thread David Winsemius


Sent from my iPhone

> On Feb 23, 2024, at 18:19, Sorkin, John  wrote:
> 
> David,
> 
> I greatly appreciate the explanation you gave regarding R tools providing 
> tools available in Linux distros, but not found in Windows. (I am using a 
> windows system). Does this mean that Linux users don't need to use R tools 
> when they want to compile R code. 

Yes. That’s been true for me anyway. On a Mac I need to make sure I have the 
proper C and Fortran compilers and the proper environment variables , which are 
always provided by Saint  Simon Urbanek at the att.research site. 

— 
David. 
> 
> Additionally, thank you for the information about what I should read. I will 
> look at the material again, and hopefully things the material you suggest I 
> read will be more understandable.
> 
> John
> 
> P.S. This email should be in txt format, not html. I sent if from my desktop 
> windows machine which provides more options than does my iPhone.
> 
> 
> 
> John David Sorkin M.D., Ph.D.
> Professor of Medicine, University of Maryland School of Medicine;
> Associate Director for Biostatistics and Informatics, Baltimore VA Medical 
> Center Geriatrics Research, Education, and Clinical Center;
> PI Biostatistics and Informatics Core, University of Maryland School of 
> Medicine Claude D. Pepper Older Americans Independence Center;
> Senior Statistician University of Maryland Center for Vascular Research;
> 
> Division of Gerontology and Paliative Care,
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> Cell phone 443-418-5382
> 
> 
> 
> 
> 
> From: David Winsemius 
> Sent: Friday, February 23, 2024 8:14 PM
> To: Sorkin, John
> Cc: avi.e.gr...@gmail.com; r-help@r-project.org
> Subject: Re: [R] Rtools and things dependent on it
> 
> 
> On 2/23/24 16:28, Sorkin, John wrote:
> David,
> My apologies regarding the format of my email. I am replying using my iPhone, 
> and I can’t find a way to switch from what I suspect is html to txt format.
> The link you sent told me that R tools allows compilation of code.
> 
> 
> It's specifically designed to provide the code tools missing in Windows that 
> would other wise have been provided by a typical Linux distro. More 
> expansively, it allows compilation of code written in C and/or Fortran using 
> the version that was used to build the matching R version and allows it to be 
> called by the routines written in R that bind a package together.
> 
> This is good to know, but beyond this important fact, the rest of the 
> material was close to unintelligible.
> 
> The phrase "the rest of the material" is not specific enough to offer more 
> explanation. You should quote material that is beyond your understanding. You 
> should only be reading the sections named: "Installing Rtools43" and 
> "Building packages from source using Rtools43". I doubt that material further 
> on would be relevant.
> 
> --
> 
> David
> 
> I doubt this is the fault of the author, it is probably because I lack some 
> basic knowledge. Can you suggest some more basic material I can read. Please 
> note. I am not computer naive, I am simply missing basic knowledge of the 
> material discussed in the web page.
> Thank you,
> John
> John David Sorkin M.D., Ph.D.
> Professor of Medicine
> Chief, Biostatistics and Informatics
> University of Maryland School of Medicine Division of Gerontology and 
> Geriatric Medicine
> Baltimore VA Medical Center
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> (Phone) 410-605-7119
> (Fax) 410-605-7913 (Please call phone number above prior to 
> faxing)
> 
> On Feb 23, 2024, at 7:01 PM, David Winsemius 
> <mailto:dwinsem...@comcast.net> wrote:
> 
> 
> On 2/23/24 14:34, avi.e.gr...@gmail.com<mailto:avi.e.gr...@gmail.com> wrote:
> This may be a dumb question and the answer may make me feel dumber.
> 
> I have had trouble for years with R packages wanting Rtools on my machine
> and not being able to use it. Many packages are fine as binaries are
> available. I have loaded Rtools and probably need to change my PATH or
> something.
> 
> 
> I suppose making sure that whatever directory holds your Rtools code is
> on your path would be a good idea. I wondered if there's an environment
> variable that could be set, but reading the page on using Rtools did not
> mention one until I got down to the section on building R from source
> which is surely NOT what you want to do.. You should read the
> information on installation and building packages from source.
> https://cran.r-project.org/bin/windows/base/howto-R-devel.html<https://c

Re: [R] Rtools and things dependent on it

2024-02-23 Thread Sorkin, John
David,

I greatly appreciate the explanation you gave regarding R tools providing tools 
available in Linux distros, but not found in Windows. (I am using a windows 
system). Does this mean that Linux users don't need to use R tools when they 
want to compile R code?

Additionally, thank you for the information about what I should read. I will 
look at the material again, and hopefully things the material you suggest I 
read will be more understandable.

John

P.S. This email should be in txt format, not html. I sent if from my desktop 
windows machine which provides more options than does my iPhone.



John David Sorkin M.D., Ph.D.
Professor of Medicine, University of Maryland School of Medicine;
Associate Director for Biostatistics and Informatics, Baltimore VA Medical 
Center Geriatrics Research, Education, and Clinical Center;
PI Biostatistics and Informatics Core, University of Maryland School of 
Medicine Claude D. Pepper Older Americans Independence Center;
Senior Statistician University of Maryland Center for Vascular Research;

Division of Gerontology and Paliative Care,
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
Cell phone 443-418-5382





From: David Winsemius 
Sent: Friday, February 23, 2024 8:14 PM
To: Sorkin, John
Cc: avi.e.gr...@gmail.com; r-help@r-project.org
Subject: Re: [R] Rtools and things dependent on it


On 2/23/24 16:28, Sorkin, John wrote:
David,
My apologies regarding the format of my email. I am replying using my iPhone, 
and I can’t find a way to switch from what I suspect is html to txt format.
The link you sent told me that R tools allows compilation of code.


It's specifically designed to provide the code tools missing in Windows that 
would other wise have been provided by a typical Linux distro. More 
expansively, it allows compilation of code written in C and/or Fortran using 
the version that was used to build the matching R version and allows it to be 
called by the routines written in R that bind a package together.

This is good to know, but beyond this important fact, the rest of the material 
was close to unintelligible.

The phrase "the rest of the material" is not specific enough to offer more 
explanation. You should quote material that is beyond your understanding. You 
should only be reading the sections named: "Installing Rtools43" and "Building 
packages from source using Rtools43". I doubt that material further on would be 
relevant.

--

David

I doubt this is the fault of the author, it is probably because I lack some 
basic knowledge. Can you suggest some more basic material I can read. Please 
note. I am not computer naive, I am simply missing basic knowledge of the 
material discussed in the web page.
Thank you,
John
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology and Geriatric 
Medicine
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to 
faxing)

On Feb 23, 2024, at 7:01 PM, David Winsemius 
<mailto:dwinsem...@comcast.net> wrote:


On 2/23/24 14:34, avi.e.gr...@gmail.com<mailto:avi.e.gr...@gmail.com> wrote:
This may be a dumb question and the answer may make me feel dumber.

I have had trouble for years with R packages wanting Rtools on my machine
and not being able to use it. Many packages are fine as binaries are
available. I have loaded Rtools and probably need to change my PATH or
something.


I suppose making sure that whatever directory holds your Rtools code is
on your path would be a good idea. I wondered if there's an environment
variable that could be set, but reading the page on using Rtools did not
mention one until I got down to the section on building R from source
which is surely NOT what you want to do.. You should read the
information on installation and building packages from source.
https://cran.r-project.org/bin/windows/base/howto-R-devel.html<https://cran.r-project.org/bin/windows/base/howto-R-devel.html>
 which
includes this sentence:

"It is recommended to use the defaults and install into|c:/rtools43|.
When done that way, Rtools43 may be used in the same R session which
installed it or which was started before Rtools43 was installed."


But I recently suggested to someone that they might want to use the tabyl()
function in the janitor package that I find helpful. I get a warning when I
install it about Rtools but it works fine. When they install it, it fails. I
assumed they would get it from CRAN the same way I did as we are both using
Windows and from within RSTUDIO.

In the past, I have run into other packages I could not use and just moved
on but it seems like time to see if this global problem has a work-around.

And, in particular, I have the latest versions of both R and RSTU

Re: [R] Rtools and things dependent on it

2024-02-23 Thread David Winsemius


On 2/23/24 16:28, Sorkin, John wrote:
> David,
> My apologies regarding the format of my email. I am replying using my 
> iPhone, and I can’t find a way to switch from what I suspect is html 
> to txt format.
> The link you sent told me that R tools allows compilation of code.


It's specifically designed to provide the code tools missing in Windows 
that would other wise have been provided by a typical Linux distro. More 
expansively, it allows compilation of code written in C and/or Fortran 
using the version that was used to build the matching R version and 
allows it to be called by the routines written in R that bind a package 
together.

> This is good to know, but beyond this important fact, the rest of the 
> material was close to unintelligible.

The phrase "the rest of the material" is not specific enough to offer 
more explanation. You should quote material that is beyond your 
understanding. You should only be reading the sections named:"Installing 
Rtools43" and "Building packages from source using Rtools43". I doubt 
that material further on would be relevant.

-- 

David

> I doubt this is the fault of the author, it is probably because I lack 
> some basic knowledge. Can you suggest some more basic material I can 
> read. Please note. I am not computer naive, I am simply missing basic 
> knowledge of the material discussed in the web page.
> Thank you,
> John
>> John David Sorkin M.D., Ph.D.
>> Professor of Medicine
>> Chief, Biostatistics and Informatics
>> University of Maryland School of Medicine Division of Gerontology and 
>> Geriatric Medicine
>> Baltimore VA Medical Center
>> 10 North Greene Street 
>> GRECC  (BT/18/GR)
>> Baltimore, MD 21201-1524 
>> (Phone) 410-605-711 9
>> (Fax)410-605-7913  (Please call phone number above 
>> prior to faxing)
>
>> On Feb 23, 2024, at 7:01 PM, David Winsemius  
>> wrote:
>>
>> 
>> On 2/23/24 14:34, avi.e.gr...@gmail.com wrote:
>>> This may be a dumb question and the answer may make me feel dumber.
>>>
>>> I have had trouble for years with R packages wanting Rtools on my 
>>> machine
>>> and not being able to use it. Many packages are fine as binaries are
>>> available. I have loaded Rtools and probably need to change my PATH or
>>> something.
>>
>>
>> I suppose making sure that whatever directory holds your Rtools code is
>> on your path would be a good idea. I wondered if there's an environment
>> variable that could be set, but reading the page on using Rtools did not
>> mention one until I got down to the section on building R from source
>> which is surely NOT what you want to do.. You should read the
>> information on installation and building packages from source.
>> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcran.r-project.org%2Fbin%2Fwindows%2Fbase%2Fhowto-R-devel.html=05%7C02%7CJSorkin%40som.umaryland.edu%7C7000449b5bd74e1d6cbb08dc34cbcba8%7C717009a620de461a88940312a395cac9%7C0%7C0%7C638443297110517980%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=%2B1tC1ROo11Bj1dPg7Ho9lDcVfL31Y3mCYUYqwDcyKs4%3D=0
>>  
>> which
>> includes this sentence:
>>
>> "It is recommended to use the defaults and install into|c:/rtools43|.
>> When done that way, Rtools43 may be used in the same R session which
>> installed it or which was started before Rtools43 was installed."
>>
>>>
>>> But I recently suggested to someone that they might want to use the 
>>> tabyl()
>>> function in the janitor package that I find helpful. I get a warning 
>>> when I
>>> install it about Rtools but it works fine. When they install it, it 
>>> fails. I
>>> assumed they would get it from CRAN the same way I did as we are 
>>> both using
>>> Windows and from within RSTUDIO.
>>>
>>> In the past, I have run into other packages I could not use and just 
>>> moved
>>> on but it seems like time to see if this global problem has a 
>>> work-around.
>>>
>>> And, in particular, I have the latest versions of both R and RSTUDIO 
>>> which
>>> can be a problem when other things are not as up-to-date.
>>>
>>> Or, maybe some people with R packages could be convinced to make 
>>> binaries
>>> available in the first place?
>>
>> Binaries are automatically produced by CRAN but perhaps you are trying
>> to install from some other source? It would help if you could be
>> specific about several missing pieces of information: Operating system,
>> R version, Rtools version, current location of Rtools, names of packages
>> and where they were obtained.
>>
>>
>> Regards and good luck;
>>
>> David (a.k.a IRTFM)
>>
>>> Avi
>>>
>>>    [[alternative HTML version deleted]]
>> Rhelp is a plain text mailing list. You should configure your email
>> client to send only plain-text and NOT html.
>>    [[alternative HTML version deleted]]
>>
>> __
>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> 

Re: [R] Rtools and things dependent on it

2024-02-23 Thread Jeff Newmiller via R-help
RTools is a set of command-line programs needed for compiling R and its 
packages on Windows. You don't need it if your OS is not Windows.

In theory, users on Windows should not need to worry about compiling packages 
to binary (zip) form, because CRAN compiles the source code for every package 
that supports Windows and just updating in a few days should bring in the 
current binaries. In practice, that task seems to always be lagging for certain 
packages, so you may end up using old versions of packages if you only rely on 
binary packages. Tidyverse packages seem to be among the worst in this 
respect.. there are many many dependencies and getting just one old one can 
make it all but impossible to get a current set of top-level Tidyverse 
packages. I think this is the strongest argument for teaching beginners to use 
Bsse R at first... the most plaintive cries come from beginners tasked with 
preparing their Windows computers to use tidyverse for their "class" at times 
when the binary files are very out of date.

Once installed and an RtoolsXX directory is present, it is still necessary to 
add the Rtools\mingw64\bin directory to your PATH environment variable so R can 
find it. Unfortunately there is no one way to do this because some people use 
multiple versions of R/Rtools and you can't just add all of them to your PATH. 
One of my preferred ways is to put the following in a newly-created .Rprofile 
text file in the Documents directory

Sys.setenv( PATH=paste( "C:\\Rtools43\\mingw64", Sys.getenv( "PATH" ), sep=";" 
) )

after restarting R it should be ready to install source packages when needed.

The problem is that beginners rarely remember doing this and after updating to 
R/Rtools 4.4.0 they will not understand why all their existing packages 
disappear (they must be reinstalled for each x.y version of R) nor why the 
source install doesn't work anymore (the 43 in their .Rprofile file which they 
have long ago forgotten must be updated to 44).

On February 23, 2024 3:39:28 PM PST, "Sorkin, John"  
wrote:
>Avi ,
>Your question is not dumb. Let me ask a more fundamental question. What is R 
>tools, what does it do, and how is it used. From time to time, I receive a 
>message when I down load a package saying I need R tools. When I receive the 
>message, I don’t know what I should do, other than down load R tools.
>John
>John David Sorkin M.D., Ph.D.
>Professor of Medicine
>Chief, Biostatistics and Informatics
>University of Maryland School of Medicine Division of Gerontology and 
>Geriatric Medicine
>Baltimore VA Medical Center
>10 North Greene Street
>GRECC (BT/18/GR)
>Baltimore, MD 21201-1524
>(Phone) 410-605-7119
>(Fax) 410-605-7913 (Please call phone number above prior to 
>faxing)
>
>On Feb 23, 2024, at 5:34 PM, avi.e.gr...@gmail.com wrote:
>
>This may be a dumb question and the answer may make me feel dumber.
>
>I have had trouble for years with R packages wanting Rtools on my machine
>and not being able to use it. Many packages are fine as binaries are
>available. I have loaded Rtools and probably need to change my PATH or
>something.
>
>But I recently suggested to someone that they might want to use the tabyl()
>function in the janitor package that I find helpful. I get a warning when I
>install it about Rtools but it works fine. When they install it, it fails. I
>assumed they would get it from CRAN the same way I did as we are both using
>Windows and from within RSTUDIO.
>
>In the past, I have run into other packages I could not use and just moved
>on but it seems like time to see if this global problem has a work-around.
>
>And, in particular, I have the latest versions of both R and RSTUDIO which
>can be a problem when other things are not as up-to-date.
>
>Or, maybe some people with R packages could be convinced to make binaries
>available in the first place?
>
>Avi
>
>
>   [[alternative HTML version deleted]]
>
>__
>R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-help=05%7C02%7CJSorkin%40som.umaryland.edu%7C8d5f2c8346f24559a7f908dc34bf9979%7C717009a620de461a88940312a395cac9%7C0%7C0%7C638443244987424663%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C6%7C%7C%7C=BO9wgkrjNmI4j2deiBDxHw%2F9tVjynfQYEHhBZ8BGq%2Fk%3D=0
>PLEASE do read the posting guide 
>https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.r-project.org%2Fposting-guide.html=05%7C02%7CJSorkin%40som.umaryland.edu%7C8d5f2c8346f24559a7f908dc34bf9979%7C717009a620de461a88940312a395cac9%7C0%7C0%7C638443244987432863%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C6%7C%7C%7C=kVnTbE6ZEpmJ88Zmu%2FUbUH%2F%2FnjoSHSmDjuIxxxw3uz8%3D=0
>and provide commented, minimal, self-contained, reproducible code.
>
>   [[alternative HTML version deleted]]
>

Re: [R] Rtools and things dependent on it

2024-02-23 Thread David Winsemius



On 2/23/24 15:39, Sorkin, John wrote:

Avi ,
Your question is not dumb. Let me ask a more fundamental question. What is R 
tools, what does it do, and how is it used. From time to time, I receive a 
message when I down load a package saying I need R tools. When I receive the 
message, I don’t know what I should do, other than down load R tools.


https://cran.r-project.org/bin/windows/base/howto-R-devel.html


And do configure your client to send only plain-text.


--

David.


John
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology and Geriatric 
Medicine
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to 
faxing)

On Feb 23, 2024, at 5:34 PM, avi.e.gr...@gmail.com wrote:

This may be a dumb question and the answer may make me feel dumber.


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


Re: [R] Rtools and things dependent on it

2024-02-23 Thread David Winsemius


On 2/23/24 14:34, avi.e.gr...@gmail.com wrote:
> This may be a dumb question and the answer may make me feel dumber.
>   
> I have had trouble for years with R packages wanting Rtools on my machine
> and not being able to use it. Many packages are fine as binaries are
> available. I have loaded Rtools and probably need to change my PATH or
> something.


I suppose making sure that whatever directory holds your Rtools code is 
on your path would be a good idea. I wondered if there's an environment 
variable that could be set, but reading the page on using Rtools did not 
mention one until I got down to the section on building R from source 
which is surely NOT what you want to do.. You should read the 
information on installation and building packages from source. 
https://cran.r-project.org/bin/windows/base/howto-R-devel.html which 
includes this sentence:

"It is recommended to use the defaults and install into|c:/rtools43|. 
When done that way, Rtools43 may be used in the same R session which 
installed it or which was started before Rtools43 was installed."

>   
> But I recently suggested to someone that they might want to use the tabyl()
> function in the janitor package that I find helpful. I get a warning when I
> install it about Rtools but it works fine. When they install it, it fails. I
> assumed they would get it from CRAN the same way I did as we are both using
> Windows and from within RSTUDIO.
>   
> In the past, I have run into other packages I could not use and just moved
> on but it seems like time to see if this global problem has a work-around.
>   
> And, in particular, I have the latest versions of both R and RSTUDIO which
> can be a problem when other things are not as up-to-date.
>   
> Or, maybe some people with R packages could be convinced to make binaries
> available in the first place?

Binaries are automatically produced by CRAN but perhaps you are trying 
to install from some other source? It would help if you could be 
specific about several missing pieces of information: Operating system, 
R version, Rtools version, current location of Rtools, names of packages 
and where they were obtained.


Regards and good luck;

David (a.k.a IRTFM)

> Avi
>
>   [[alternative HTML version deleted]]
Rhelp is a plain text mailing list. You should configure your email 
client to send only plain-text and NOT html.
[[alternative HTML version deleted]]

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


Re: [R] Rtools and things dependent on it

2024-02-23 Thread Sorkin, John
Avi ,
Your question is not dumb. Let me ask a more fundamental question. What is R 
tools, what does it do, and how is it used. From time to time, I receive a 
message when I down load a package saying I need R tools. When I receive the 
message, I don’t know what I should do, other than down load R tools.
John
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology and Geriatric 
Medicine
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to 
faxing)

On Feb 23, 2024, at 5:34 PM, avi.e.gr...@gmail.com wrote:

This may be a dumb question and the answer may make me feel dumber.

I have had trouble for years with R packages wanting Rtools on my machine
and not being able to use it. Many packages are fine as binaries are
available. I have loaded Rtools and probably need to change my PATH or
something.

But I recently suggested to someone that they might want to use the tabyl()
function in the janitor package that I find helpful. I get a warning when I
install it about Rtools but it works fine. When they install it, it fails. I
assumed they would get it from CRAN the same way I did as we are both using
Windows and from within RSTUDIO.

In the past, I have run into other packages I could not use and just moved
on but it seems like time to see if this global problem has a work-around.

And, in particular, I have the latest versions of both R and RSTUDIO which
can be a problem when other things are not as up-to-date.

Or, maybe some people with R packages could be convinced to make binaries
available in the first place?

Avi


   [[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-help=05%7C02%7CJSorkin%40som.umaryland.edu%7C8d5f2c8346f24559a7f908dc34bf9979%7C717009a620de461a88940312a395cac9%7C0%7C0%7C638443244987424663%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C6%7C%7C%7C=BO9wgkrjNmI4j2deiBDxHw%2F9tVjynfQYEHhBZ8BGq%2Fk%3D=0
PLEASE do read the posting guide 
https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.r-project.org%2Fposting-guide.html=05%7C02%7CJSorkin%40som.umaryland.edu%7C8d5f2c8346f24559a7f908dc34bf9979%7C717009a620de461a88940312a395cac9%7C0%7C0%7C638443244987432863%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C6%7C%7C%7C=kVnTbE6ZEpmJ88Zmu%2FUbUH%2F%2FnjoSHSmDjuIxxxw3uz8%3D=0
and provide commented, minimal, self-contained, reproducible code.

[[alternative HTML version deleted]]

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


[R] Rtools and things dependent on it

2024-02-23 Thread avi.e.gross
This may be a dumb question and the answer may make me feel dumber.
 
I have had trouble for years with R packages wanting Rtools on my machine
and not being able to use it. Many packages are fine as binaries are
available. I have loaded Rtools and probably need to change my PATH or
something.
 
But I recently suggested to someone that they might want to use the tabyl()
function in the janitor package that I find helpful. I get a warning when I
install it about Rtools but it works fine. When they install it, it fails. I
assumed they would get it from CRAN the same way I did as we are both using
Windows and from within RSTUDIO.
 
In the past, I have run into other packages I could not use and just moved
on but it seems like time to see if this global problem has a work-around.
 
And, in particular, I have the latest versions of both R and RSTUDIO which
can be a problem when other things are not as up-to-date.
 
Or, maybe some people with R packages could be convinced to make binaries
available in the first place?
 
Avi
 

[[alternative HTML version deleted]]

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