[R-sig-Geo] Raster package stackFromFiles

Ned Horning horning at amnh.org
Tue Sep 22 20:28:57 CEST 2009


Hi - I have a script that uses stackFromFiles that used to be part of 
the Raster package but it's not any more. Ca anyone out there let me 
know the new way to do this:

sat_image <- stackFromFiles(c(inImage), c(bandlist[1]))
for (y in 2:numbands) {
  sat_image <- addFiles(sat_image, c(inImage), c(bandlist[y]))
}

Any help is appreciated.

Ned



More information about the R-sig-Geo mailing list