[R] NetCDF, open *.nc

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Mon Jul 11 18:03:46 CEST 2011


On Mon, Jul 11, 2011 at 2:57 PM, kokavolchkov <kokavolchkov at gmail.com> wrote:

> mode="wb": AFAIK

 You have taken the professor somewhat too literally. "AFAIK" means
"As Far As I Know".

 The 'mode="wb"' goes *inside* the download.file function call. It
modifies the default behaviour of download.file.

STL (SomeThing Like):

 download.file(url="http://example.com/foo.nc",
destfile="c:/bar/baz.nc", mode="wb")

 That should work (if you replace the url and dest correctly...
Anyway, made me LOL.

Barry



More information about the R-help mailing list