Re: [R] read the middle of a file

2010-08-02 Thread Michael Sumner
Try readGDAL in the rgdal package - best to use the GeoTIFF version of Etopo1 though - the GDAL functions are optimized for binary versions of large rasters like this, and with arguments to readGDAL you can read sub-windows or decimated versions. Cheers, Mike. On Tue, Aug 3, 2010 at 5:33 AM, R He

[R] read the middle of a file

2010-08-02 Thread R Heberto Ghezzo, Dr
Hello, The other day Justin Peter presented a mini program to plot a topographic map with an overlay of the worldHires. I seemed interesting so I checked the ETOPO5 site and find that there is a new file ETOPO1 with a 1 minute grid. I downloaded it and tried a similar procedure. Now the ETOPO1.g