[pkg-bioc] CVS %p
Dirk Eddelbuettel
edd at debian.org
Mon Feb 12 01:03:10 CET 2007
On 12 February 2007 at 00:11, Steffen Moeller wrote:
| On Sunday 11 February 2007 23:46:17 CVS User edd wrote:
|
| > would be nice to tell R not to download files that are already present
| > in sources/
|
| That's what I thought, too, and I had a quick look into that. We could make
| download.packages use wget for its task and maybe pass it some mirror flags
Yes!! That is the one baby patch I contributed to R -- I once needed wget
because it get around a particular firewall I was behind. So see
help(download.file)
where argument method can be set as
method: Method to be used for downloading files. Currently download
methods '"internal"', '"wget"' and '"lynx"' are available,
and there is a value '"auto"': see Details. The method can
also be set through the option '"download.file.method"': see
'options()'.
AFAICR wget will still re-download a file foo.bar if present and simply call
it foo.bar.1 but there must be an option to make it stop....
| via Environment variables. Urgs? Or lynx? I thought it would be more likely
| that we use available.packages or so to derive a list from our sources
| directory. But frankly, my first steps into that where too thorny that I
| thought ... damn ... we've got the bandwidth and it is only every few months
| when a new bioc release gets out.
That's one view, the other is that bad / empirical programmers like myself
like to restart from the beginning but are too impatient to re-download the
save few megabytes over and over and over :)
Dirk
--
Hell, there are no rules here - we're trying to accomplish something.
-- Thomas A. Edison
More information about the pkg-bioc-devel
mailing list