[R] Moving to 1.8.1: can you transfer your package list?

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Mar 19 13:02:36 CET 2004


On Fri, 19 Mar 2004, Chris Evans wrote:

> I prefer to use R on a linux box and ultimately need things to end up 
> there to serve things up using David Firth's excellent CGIwithR and 
> apache, but one step at a time and I've installed 1.8.1 under win2k.  
> Another question that I'm sure is simple: is there a simple way to 
> find the list of installed libraries I had in my 1.7.1 installation 
> and use that to drive install.packages?
> 
> I've done it with a rather ugly bit of copy and paste using library() 
> in the 1.7.1 installation and then using install.packages("xxx") on 
> each of the package names from the first column of the output from 
> library().  How should I have done it more elegantly gurus?

installed.packages(priority="NA")[, 1]

Can I suggest that with 1.9.0 imminent, you use that rather than 1.8.1.
The Windows build is at 
http://cran.r-project.org/bin/windows/base/rdevel.html

At the very least, use a version of R-patched (similar URL).

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list