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? 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"(Ted Harding)" 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...> Is there a way to do this?You may want to have a look at the help file of install.packages Sth. like > install.packages(CRAN.packages()[,1]) will do the job. And then once a week, say, > update.packages() Greets, Diego Kuonen -- Dr. ?s sc. Diego Kuonen CEO & Applied Statistician Statoo Consulting, PO Box 107, 1015 Lausanne, Switzerland + Have you ever been Statooed? http://www.statoo.info + + Free Statooed newsletters: http://lists.statoo.com + -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._