[R] Getting all R packages

Thomas Lumley tlumley at u.washington.edu
Tue Sep 3 18:00:47 CEST 2002


On Tue, 3 Sep 2002 Ted.Harding at nessie.mcc.ac.uk wrote:

> Rather than spend a tedious interactive session
> picking several (in fact most) of the library
> packages off the CRAN site one by one, it would
> be handy to be able to grab the lot in one go
> (they seem to add up to about 24MB, so it's not
> a huge download).
>

To start with, you can specify a vector of strings to the
install.packages() command: eg

 install.packages(c("acepack","adapt","agce","akima","ash"))

If you want all of them the function CRAN.packages() returns the names of
all the packages as the first column of its value, so you could pass that
to install.packages(), or edit it first if you didn't want quite
everything.

	-thomas


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list