[R-sig-Geo] error in SpatialGridDataFrame

temiz temiz at deprem.gov.tr
Thu Apr 5 17:02:56 CEST 2007


hello

when I followed the steps of  ORDINARY KRIGING IN R WITH GRASS6 DATA in 
GRASS 6 Tutorial.

I encountered this error:

 > mask_SG <- 
SpatialGridDataFrame(grd,data=list(k=rep(1,G$cols3*G$rows3)),proj4string=CRS(G$proj4))
Error in validObject(.Object) : invalid class "SpatialGridDataFrame" 
object: invalid object for slot "data" in class "SpatialGridDataFrame": 
got class "list", should be or extend class "data.frame"


can you tell me why ?

regards

-- 
Ahmet Temiz


-- 
This message has been scanned for viruses and\ dangerous con...{{dropped}}




More information about the R-sig-Geo mailing list