[R] rgdal package (Matteo Toro)
ciccpaol at libero.it
ciccpaol at libero.it
Sun Oct 17 22:52:31 CEST 2010
>Hi everybody,
>
>I'm trying to install the "rgdal" package in R, but it seems not possible...
>
>i'm typing
>
>> install.packages("rgdal")
>Warning in install.packages("rgdal") :
> argument 'lib' is missing: using '/home/toro/R/i486-pc-linux-gnu-library/2.
>9'
>--- Please select a CRAN mirror for use in this session ---
>Loading Tcl/Tk interface ... done
>Warning message:
>In getDependencies(pkgs, dependencies, available, lib) :
> package ‘rgdal’ is not available
>
>I also tried to download the package from http://sourceforge.
>net/projects/rgdal/files/ , and tried
>
>$ R CMD INSTALL /home/toro/Downloads/rgdal_0.3-5.tar.gz
>* Installing to library ‘/home/toro/R/i486-pc-linux-gnu-library/2.9’
>* Installing *source* package ‘rgdal’ ...
>configure: creating ./config.status
>config.status: creating src/Makevars
>** libs
>g++ -I/usr/share/R/include -I/usr/include/gdal -g -DRGDALDEBUG -fpic -g
-
>O2 -c gdal-bindings.cpp -o gdal-bindings.o
>gdal-bindings.cpp: In function ‘char* asString(SEXPREC*, int)’:
>gdal-bindings.cpp:28: error: invalid conversion from ‘const char*’ to ‘char*’
>make: *** [gdal-bindings.o] Error 1
>ERROR: compilation failed for package ‘rgdal’
>* Removing ‘/home/toro/R/i486-pc-linux-gnu-library/2.9/rgdal’
>
>and this happens also for other versions of gdal I have downloaded.
>
>The biggest problem is that also other packages like spgrass6, spGDAL and
>spmaptools are dependent from gdal....so i cannot go on....
>
>Can I ask you to help me , please??
>
>Thank you
>
>Matteo
>
>
>
>
>
>
>
>
>
More information about the R-help
mailing list