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]]
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
Le lun. 27 oct. ? 15:28, Arnaud Battistella a ?crit :> 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?I'd recommend installing these packages with install.packages() into your home directory -- unless you're a site administrator of course. Look at the ADMINISTRATION AND MAINTENANCE OF R PACKAGES section of the Ubuntu or Debian README on CRAN (near the end) for a simple way to automate all this: http://cran.r-project.org/bin/linux/debian/ http://cran.r-project.org/bin/linux/ubuntu/ HTH Vincent> > 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