Skip to content
Prev 334504 / 398506 Next

error with as.factor raster

On 16/12/2013 15:14, Lauria, Valentina wrote:
Yes.  This is a bug in package raster.  So please follow the posting 
guide and report to the maintainer, with the 'at a minimum' information 
missing here (a crucial part being the version of raster).

Using 1:ncol() is bad practice (seq_len is designed for that purpose), 
but the raster maintainer misuses it ca 100x.