[R-sig-Geo] mass importing rasters

Thomas Adams Thomas.Adams at noaa.gov
Sun Sep 12 23:22:03 CEST 2010


Depending on what you are doing, you may want to consider the use of 
GRASS GIS (http://grass.osgeo.org/) in combination with R. This has been 
a successful strategy for me in the past, not using Geotiffs, however. 
The advantage is that the Geotiffs can be imported into GRASS GIS format 
in batch form and then using r.mapcalc within GRASS, nearly any map 
algebra calculations are possible without running into memory issues 
that you may encounter with R alone.


On 9/12/10 4:29 PM, Martin Brandt wrote:
> a simple question:
> how can I automatically import a huge bunch of rasters (Geotiffs) to R?
> With a for loop? I didn't find how to do that in the docs..
> Each variable name should be the original raster name, but that's not
> important.
> greets,
> Martin
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Thomas E Adams
National Weather Service
Ohio River Forecast Center
1901 South State Route 134
Wilmington, OH 45177

EMAIL:	thomas.adams at noaa.gov

VOICE:	937-383-0528
FAX:	937-383-0033

More information about the R-sig-Geo mailing list