[R-sig-Debian] r-cran-vars?

Christopher David Desjardins cddesjardins at gmail.com
Mon Oct 27 20:48:05 CET 2008


You could use install.packages().  What I usually do is download the
tarball of interest from CRAN and as root run 

R CMD INSTALL foo.tar.gz

This will by default install to /usr/local/lib/R/site-library

Then you can call it in R with library(foo)

I believe you can specify where you want to install it to with the -l
option.  ?Install for more details.

Cheers,
Chris


On Mon, 2008-10-27 at 20:28 +0100, Arnaud Battistella wrote:
> Hi,
> I was wondering what is the recommended way to install the "vars" package in
> debian. And for that matter, how do you usually install R packages not
> included in debian? I guess I could simply use install.packages() but I'm
> afraid of ending up with several versions of the same package which could be
> bad I guess... Any recommendation on how to go with this?
> Thanks in advance for your help,
> A.
> 
> 	[[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



More information about the R-SIG-Debian mailing list