[R] Getting all R packages

Emmanuel Paradis paradis at isem.univ-montp2.fr
Tue Sep 3 17:57:39 CEST 2002


At 16:19 03/09/02 +0100, you 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).
>
>Is there a way to do this?

Look at the help:

    ?update.packages

Several functions are documented there. It sounds that the command:

    download.packages(CRAN.packages()[, 1], destdir = "/dest/dir")

will do what you want (assuming that you just want to download the
packages, not install them), but I haven't tested it.

Hope this helps.

EP

>Thanks for the help.
>Ted.
>
>--------------------------------------------------------------------
>E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk>
>Fax-to-email: +44 (0)870 167 1972
>Date: 03-Sep-02                                       Time: 16:19:53
>------------------------------ XFMail ------------------------------
>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
.-.-
>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
>_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
._._
>
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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