[R] Probably with default library tree

Chiquoine, Ben BChiquoine at tiff.org
Mon Jan 3 14:12:42 CET 2011

Josh and Gabor thanks for those two extremely useful responses. I played around with those environment variables (R_LIBS and R_LIBS_USER) for a bit without success but I like the rationale hat you've given for the alternate path and will probably just stick with it.



-----Original Message-----
From: Gabor Grothendieck [mailto:ggrothendieck at gmail.com] 
Sent: Sunday, January 02, 2011 5:31 PM
To: Chiquoine, Ben
Cc: r-help at R-project.org
Subject: Re: [R] Probably with default library tree

On Sun, Jan 2, 2011 at 2:35 PM, Chiquoine, Ben <BChiquoine at tiff.org> wrote:
> Hi,
> I just installed R on a new windows 7 machine and am having a probelm with the default libraries. The default libraries are not what I want them to be so when i say install.packages("XXX") the packages don't install where I want them to.  Ideally everything would install to the same location as the base packages. When I look at my library paths I get the following.
>> .libPaths()
> [1] "C:\\Users\\Ben\\Documents/R/win-library/2.12"
> [2] "C:/PROGRA~1/R/R-212~1.1/library"

Its normally better to have your library in your own user area (which
is what its doing for you) so that you don't need Administrative
privileges to install packages.  Unless there is some good reason not
to want the default set up you should think about just going with it.

Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
This message and any attached documents contain
information which may be confidential, subject to 
privilege or exempt from disclosure under applicable
law. These materials are solely for the use of the 
intended recipient. If you are not the intended 
recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, 
copying, storage, modification or the taking of any
action in reliance upon this transmission is strictly
prohibited. Delivery of this message to any person
other than the intended recipient shall not
compromise or waive such confidentiality, privilege
or exemption from disclosure as to this 

If you have received this communication in error, 
please notify the sender immediately and delete
this message from your system. 

More information about the R-help mailing list