Skip to content

raster::ratify and as.factor Error in 1:ncol(r) : argument of length with raster read from large tif

1 message · Robert J. Hijmans

#
Nevil,
Thanks for reporting and including an example file. The error occurs
when showing a RasterLayer with a RAT table that only has IDs (but no
attributes for these IDs). Did it otherwise affect anything? Either
way, this has been fixed for the next version.
Robert
On Mon, Jul 7, 2014 at 6:52 AM, nevil amos <nevil.amos at gmail.com> wrote: