[R-sig-Geo] writeRaster() error with raster_2.2-5

Agustin Lobo alobolistas at gmail.com
Thu Jan 9 15:11:44 CET 2014


I'm getting this problem with raster_2.2-5 rgdal_0.8-14 (was working
until I updated):

test <- raster(matrix(10,nrow=4,ncol=4))
writeRaster(test,file="test",format="GTiff",overwrite=TRUE)

Error in .getGDALtransient(x, filename = filename, options = options,  :
  could not find function "GDALcall"

Instead
writeGDAL(as(test, "SpatialGridDataFrame"), fname ="test")
works fine.

It looks like the same problem we had few weeks ago is back
http://r-sig-geo.2731867.n2.nabble.com/Error-in-gd-SetProject-transient-crs-r-td7585330.html#a7585432

> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-pc-linux-gnu (64-bit)

rgdal: version: 0.8-14, (SVN revision 496)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 1.10.0, released 2013/04/24
Path to GDAL shared files: /usr/share/gdal/1.10
Loaded PROJ.4 runtime: Rel. 4.8.0, 6 March 2012, [PJ_VERSION: 480]
Path to PROJ.4 shared files: (autodetected)

Tried with raster version in R-forge, same problem

Agus



More information about the R-sig-Geo mailing list