[R] Installing packages into updated R
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Dec 20 17:08:30 CET 2005
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 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