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.
Thanks, Ben -----Original Message----- From: Gabor Grothendieck [mailto:[email protected]] Sent: Sunday, January 02, 2011 5:31 PM To: Chiquoine, Ben Cc: [email protected] Subject: Re: [R] Probably with default library tree On Sun, Jan 2, 2011 at 2:35 PM, Chiquoine, Ben <[email protected]> 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 communication. If you have received this communication in error, please notify the sender immediately and delete this message from your system. ______________________________________________ [email protected] mailing list 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.

