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

Reply via email to