[R-sig-Debian] installing packages systemwide

Michael Dewey info at aghmed.fsnet.co.uk
Fri Aug 19 19:48:16 CEST 2011


At 18:10 19/08/2011, Mary Kindall wrote:

>I installed some downloaded packages in R. I always do
>$sudo R CMD INSTALL <anRpackage.tar.gz>
>
>
>By default it is storing these packages into my directory
>/home/mary/R/x86_64-pc-linux-gnu-library/2.13/.
>
>However I want them to be systemwide into /usr/local/lib/R/site-library/
>folder.
>
>I tried
>$sudo R
>R> install.packages("anRpackage", dep=TRUE)
>
>I did not succeed into getting them install in req folder.

There is a parameter lib to install.packages. Does that do what you would like?

>Any idea?
>
>
>
>--
>-------------
>Mary Kindall
>Yorktown Heights, NY
>USA
>
>         [[alternative HTML version deleted]]
>
>_______________________________________________
>R-SIG-Debian mailing list
>R-SIG-Debian at r-project.org
>https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Michael Dewey
info at aghmed.fsnet.co.uk
http://www.aghmed.fsnet.co.uk/home.html



More information about the R-SIG-Debian mailing list