[R-sig-Geo] stack many files without loading into memory

2015-02-04 Thread Dominik Schneider
Hi - I have some data on a server but would like to bring them local in a somewhat compressed format that is still easy to access. /Volumes/hD/2012 - 100 geotiffs ~/project/data/ - store those geotiffs here without needing server access. untested, I think I could do something like: s=stack()

Re: [R-sig-Geo] stack many files without loading into memory

2015-02-04 Thread Dominik Schneider
Wouldn't that keep the link to the server on which they are stored now? Dominik Schneider o 303.735.6296 | c 518.956.3978 On Wed, Feb 4, 2015 at 12:50 PM, Michael Sumner mdsum...@gmail.com wrote: Why not stack(fn) ? On Thu, 5 Feb 2015 06:41 Dominik Schneider dominik.schnei...@colorado.edu

Re: [R-sig-Geo] stack many files without loading into memory

2015-02-04 Thread Michael Sumner
Why not stack(fn) ? On Thu, 5 Feb 2015 06:41 Dominik Schneider dominik.schnei...@colorado.edu wrote: Hi - I have some data on a server but would like to bring them local in a somewhat compressed format that is still easy to access. /Volumes/hD/2012 - 100 geotiffs ~/project/data/ - store

Re: [R-sig-Geo] stack many files without loading into memory

2015-02-04 Thread Michael Sumner
On Thu Feb 05 2015 at 7:41:33 AM Dominik Schneider dominik.schnei...@colorado.edu wrote: I think you are correct. s=stack(fn,quick=T) writeRaster(s,'localpath/2012data') Ugh, sorry yes that's me reading too fast. I should have suggested the next step to writeRaster, I'm not sure why you