[R-sig-Geo] Raster:memory or disk?

Carson Farmer carson.farmer at gmail.com
Wed Jun 30 14:50:25 CEST 2010


Agus,

What about using:

> object.size(b)

which (according to ?object.size) provides an estimate of the memory
that is being used to store an R object.

Carson

On 30 June 2010 12:58, Agustin Lobo <alobolistas at gmail.com> wrote:
> Hi!
>
> Is there any way to check if the values of a raster object
> are in memory or in disk?
>
> For example
> r10 <- raster("2000_TSDP_IP-INVDIST-SP10_43023435.tif")
> b <- r10
>
> I understand that values of r10 are not loaded in memory
> but b is completely in memory (am I wrong?)
> How could I actually verify this?
>
> Thanks
>
> Agus
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



-- 
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation
National University of Ireland, Maynooth,
http://www.carsonfarmer.com/



More information about the R-sig-Geo mailing list