Hello,

I am attempting to read rasters from GRASS format into R directly through
rgdal (without running GRASS).  The GDAL GRASS plugin is installed and
apparently working as evidenced by a call to gdalinfo with one of the GRASS
rasters.

However, when I run these lines in R:

library(rgdal)
R = readGDAL("/path/cellhd/raster")

R tells me:

/path/cellhd/raster has GDAL driver GRASS
and has 23457 rows and 35104 columns
Error in x[, , i] <- .Call("RGDAL_GetRasterData", raster,
as.integer(c(offset,  :
  number of items to replace is not a multiple of replacement length

Any ideas what my causing this error and how to fix it?

Thanks,

Josh

	[[alternative HTML version deleted]]

