[R-sig-Geo] writeRaster() error with raster_2.2-5
Agustin Lobo
alobolistas at gmail.com
Fri Jan 10 09:11:13 CET 2014
The error vanishes after starting a new R session.
This is probably a consequence of having installed the package from within
RStudio, even if the previous version was actually not loaded.
I will add "install from raw R session" and "re-start R after package
installation"
to my protocol before actually reporting an error. Apologies.
Agus
On Thu, Jan 9, 2014 at 3:11 PM, Agustin Lobo <alobolistas at gmail.com> wrote:
> 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