[R-sig-Geo] plotting raster returns error about NA

Herry Alexander.Herr at csiro.au
Wed Jul 30 05:39:44 CEST 2014


Hi List,

surely others have come across this and the solution is probably simple - I
cannot find it online anywhere. I am trying to plot a gtiff raster (produced
in grass 6.4.2, lzw compression)

image(rs) works fine but when trying to use plot I get the following error
message:
Error in .readCellsGDAL(x, uniquecells, layers) : 
  NAs are not allowed in subscripted assignments
In addition: Warning message:
In .readCells(x, cells, 1) : NAs introduced by coercion

What am I doing wrong?

thanks and cheers
Herry



--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/plotting-raster-returns-error-about-NA-tp7586834.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list