Re: [R] Installing packages into updated R

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed 21 Dec 2005 - 03:08:30 EST

This is one reason we normally recommend that you install into a separate library. Then update.packages(checkBuilt = TRUE) is all that is needed. However,

> foo <- installed.packages()
> as.vector(foo[is.na(foo[, "Priority"]), 1])

will give you a character vector which you can feed to install.packages(), so it's not complex to do manually.

On Tue, 20 Dec 2005, Michael H. Prager wrote:

> A minor inconvenience in updating an R installation is remembering which
> packages were installed previously. Has anyone written a script to
> inspect a previous installation, then get & install the same packages
> into the new installation?

-- 
Brian D. Ripley,                  ripley@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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Dec 21 03:49:30 2005

This archive was generated by hypermail 2.1.8 : Wed 21 Dec 2005 - 04:33:00 EST