[R] Probably with default library tree

Gabor Grothendieck ggrothendieck at gmail.com
Sun Jan 2 23:31:00 CET 2011


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



More information about the R-help mailing list