Message-ID: <Pine.LNX.4.61.0512201603280.19092@gannet.stats>
Date: 2005-12-20T16:08:30Z
From: Brian Ripley
Subject: Installing packages into updated R
In-Reply-To: <43A81F32.2020206@noaa.gov>
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