mass importing rasters
haven't tried this. but some variant of this should work
for (f in dir()){
assign(f, readGDAL(f))
}
Nikhil Kaza
Asst. Professor,
City and Regional Planning
University of North Carolina
nikhil.list at gmail.com
On Sep 12, 2010, at 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