Dear list,

How to deal with this error with zonal (raster package):
"RasterLayers are too large. You can use fun='sum', 'mean', 'min', or 'max',
but not a function"?
I'm trying to do some calculations with the data from one raster for each
region of the other raster, but something more complicated than just "mean"
or "sum"... (like to plot the density of each region). Is it something about
that, maybe in another package?

Thanks a lot.

	[[alternative HTML version deleted]]

