[R-sig-Geo] reading PRISM data from ftp [OT]

Andy Bunn abunn at whrc.org
Thu Jun 22 17:56:19 CEST 2006


Howdy again,

This is a little off-topic for sig-geo, but I thought somebody might be able
to help here easier than r-help.

Can somebody please tel me why this works:

tmp <- tempfile()
download.file('ftp://ftp.stats.ox.ac.uk/pub/datasets/csb/ch11b.dat',tmp)
unlink(tmp)

While this doesn't:

tmp <- tempfile()
download.file('ftp://ocs.oce.orst.edu/pub/prism/us/grids/tdmean/2000-2009/us
_tdmean_2004.01.gz',tmp)
unlink(tmp)

I have no proxy issues and can connect to the ftp site from the command
line, ftp client, firefox, etc. I'm about to process a lot of climate data
and would like to avoid downloading many small files.

Thanks! -Andy




More information about the R-sig-Geo mailing list