Re: [R] Installing packages into updated R

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Wed 21 Dec 2005 - 03:06:06 EST

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?

x <- installed.packages()[,1]
install.packages(x)

Uwe Ligges



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:26:33 2005

This archive was generated by hypermail 2.1.8 : Wed 21 Dec 2005 - 04:32:55 EST