[R-sig-Geo] Trying to install rgdal from source on Windows 7 (and failing)
Cynthia Hart
cyndyh at nmsu.edu
Thu Sep 18 19:34:53 CEST 2014
I have been using the (wonderfully useful) rgdal package for some time
now, but I now have a need to incorporate rgdal with PostGIS/PostgreSQL,
so, I find that I need more drivers than were included with the CRAN
release version of rdgal that I was using. I have GDAL already
installed. However, I am unable to build rgdal from source. I have
the rgdal_0.8-16.tar file, and when I try to run install.packages from
this tar file, I get"
install.packages("C:\\JORNADA\\rgdal_0.8-16.tar", repos = NULL, type="source")
Installing package into ‘C:/Users/cynthart/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
* installing *source* package 'rgdal' ...
** package 'rgdal' successfully unpacked and MD5 sums checked
* cp: cannot stat `/share/proj': No such file or directory
cp: cannot stat `/share/gdal': No such file or directory*
ERROR: configuration failed for package 'rgdal'
* removing 'C:/Users/cynthart/Documents/R/win-library/3.0/rgdal'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-30~1.1/bin/x64/R" CMD INSTALL -l "C:\Users\cynthart\Doc uments\R\win-library\3.0" "C:/JORNADA/rgdal_0.8-16.tar"' had status 1
Warning in install.packages :
installation of package ‘C:/JORNADA/rgdal_0.8-16.tar’ had non-zero exit status
I basically understand the error, but I do not know how to go about 'fixing' it. Can anyone please point me in the right direction? Thank you!
[[alternative HTML version deleted]]
More information about the R-sig-Geo
mailing list