[R] Downloading zip files
I have not had a great amount of success installing/updating packages from the Packages menu of Rgui under Windows XL. (Except for installing from loacal zip files.) But I am not asking for help in using these facilities because I prefer to keep a folder of package zip files. On the other hand I do find it tedious having to right-click Save link as on every individual file from CRAN. I'm sure someone knows a faster way to do it. Cheers, Murray Jorgensen -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: [EMAIL PROTECTED]Fax 7 838 4155 Phone +64 7 838 4773 wkHome +64 7 825 0441Mobile 021 1395 862 __ 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
Re: [R] Downloading zip files
On Mon, 2005-10-31 at 13:38 +1300, Murray Jorgensen wrote: I have not had a great amount of success installing/updating packages from the Packages menu of Rgui under Windows XL. (Except for installing from loacal zip files.) But I am not asking for help in using these facilities because I prefer to keep a folder of package zip files. On the other hand I do find it tedious having to right-click Save link as on every individual file from CRAN. I'm sure someone knows a faster way to do it. Cheers, Murray Jorgensen Murray, See ?install.packages for more information and also R Windows FAQ section 4 on Packages. On that same help page is download.packages() which will download, but not install, packages into a target directory, if that is an option that you prefer, since the ZIP files will generally consume less space then actually installing them if not needed. You can use install.packages() from the command line to install any CRAN packages that are available and then use update.packages() to keep the installed packages updated as they become available. If you want to install all CRAN packages that you do not currently have installed, you can use: install.packages(new.packages(), dependencies = TRUE) All available CRAN packages that do not require third party libraries on your system should be installed. I am not sure what the count on Windows would be, but for me on Linux, including the base R packages, I end up with 624 packages installed, which takes about 650 Mb. HTH, Marc Schwartz __ 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
Re: [R] Downloading zip files
Well, there's downTHEMall, a Mozilla Firefox extension (https://addons.mozilla.org/extensions/). Ted. On 31/10/05 11:38, Murray Jorgensen wrote,: I have not had a great amount of success installing/updating packages from the Packages menu of Rgui under Windows XL. (Except for installing from loacal zip files.) But I am not asking for help in using these facilities because I prefer to keep a folder of package zip files. On the other hand I do find it tedious having to right-click Save link as on every individual file from CRAN. I'm sure someone knows a faster way to do it. Cheers, Murray Jorgensen -- Dr E.A. Catchpole Visiting Fellow Univ of New South Wales at ADFA, Canberra, Australia and University of Kent, Canterbury, England - www.ma.adfa.edu.au/~eac - fax: +61 2 6268 8786 - ph: +61 2 6268 8895 __ 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
Re: [R] Downloading zip files
Murray Jorgensen wrote: I have not had a great amount of success installing/updating packages from the Packages menu of Rgui under Windows XL. (Except for installing from loacal zip files.) But I am not asking for help in using these facilities because I prefer to keep a folder of package zip files. On the other hand I do find it tedious having to right-click Save link as on every individual file from CRAN. I'm sure someone knows a faster way to do it. You probably want to use wget. I think a recursive web suck would suck down a whole directory from CRAN in one command: wget -r -l1 http://cran.mirror.r-project.org/bin/windows/contrib/2.2/ will get all the contents of the Windows 2.2 binary directory, plus a bit of other junk. You want the -l1 to limit yourself to things directly referenced on that page, otherwise you'll get all of CRAN. wget is available in various places on the web; I forget where I got my copy. I think there are options in various browsers to do the same thing, but I haven't used them. Duncan Murdoch __ 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