Skip to content
Prev 3487 / 29559 Next

Memory limit problems in R / import of maps

On Tue, 22 Apr 2008, Tomislav Hengl wrote:

            
No, please look at what the readGDAL() function actually does. It opens a 
handle to a file, and *only* reads *from* the offset *for* region.dim 
cells and chosen bands (or decimates with output.dim). You can work on 
rasters of arbitrary size, provided you do it in parts. The components are 
there, you just need to use them with insight. You haven't shown why all 
the data must be in memory (it being easier that way is an acceptable 
answer if you have 64GB). Less well resourced researchers have to use 
their wits.

Wrt. bottlenecks below, I beg to differ - another bottleneck is why the 
nth 10MB of data adds to our understanding of the data generating 
processes, if the 1st 10MB of data didn't help?

Roger