Re: [R] Downloading zip files

From: Duncan Murdoch <>
Date: Mon 31 Oct 2005 - 12:38:17 EST

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>

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 mailing list PLEASE do read the posting guide! Received on Mon Oct 31 12:46:01 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:53 EST