[R-sig-Geo] rasterVis:: levelplot error

Oscar Perpiñan oscar.perpinan at upm.es
Tue Jun 24 10:47:08 CEST 2014


Hi Nevil,

I am almost sure that this error is signaled by cellStats, which is
internally used in levelplot. If so, I can fix it easily.
Could you please post the result of traceback() and sessionInfo()?

Best,

Oscar.


-----------------------------------------------------------------
Oscar Perpiñán Lamigueiro
Dpto. Ingeniería Eléctrica (ETSIDI-UPM)
Grupo de Sistemas Fotovoltaicos (IES-UPM)
URL: http://oscarperpinan.github.io
Twitter: @oscarperpinan


2014-06-24 5:32 GMT+02:00 nevil amos <nevil.amos at gmail.com>:
> Is there a maximum raster size to plot using levelplot?
>
> I am getting the following error
>
>> levelplot(LessThanTfiCount,legend=T,maxpixels=100000,col=c("gray",colors))
> Error in .local(x, stat, ...) : cannot use this function for large files
>
>
>
>> LessThanTfiCount
> class       : RasterLayer
> dimensions  : 22268, 32521, 724177628  (nrow, ncol, ncell)
> resolution  : 25, 25  (x, y)
> extent      : 2126750, 2939775, 2262225, 2818925  (xmin, xmax, ymin, ymax)
> coord. ref. : +proj=lcc +lat_1=-36 +lat_2=-38 +lat_0=-37 +lon_0=145
> +x_0=2500000 +y_0=2500000 +ellps=GRS80 +units=m +no_defs
> data source :
> C:\Users\JNA\AppData\Local\Temp\R_raster_JNA\raster_tmp_2014-06-24_094850_1800_86115.grd
> names       : layer
> values      : 0, 9  (min, max)
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo



More information about the R-sig-Geo mailing list