[R-sig-Geo] Trying to install rgdal from source on Windows 7 (and failing)
Dutrieux, Loic
loic.dutrieux at wur.nl
Fri Sep 19 09:55:32 CEST 2014
You may try some steps documented in the README.windows file, included in the package sources. https://r-forge.r-project.org/scm/viewvc.php/pkg/inst/README.windows?view=markup&root=rgdal
But note that the file has not been updated in a little while. I can't tell whether this is still likely to work or not...
Cheers,
Loïc
________________________________________
From: r-sig-geo-bounces at r-project.org [r-sig-geo-bounces at r-project.org] on behalf of Cynthia Hart [cyndyh at nmsu.edu]
Sent: Thursday, September 18, 2014 7:34 PM
To: r-sig-geo at r-project.org
Cc: cyndyh at nmsu.edu
Subject: [R-sig-Geo] Trying to install rgdal from source on Windows 7 (and failing)
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]]
_______________________________________________
R-sig-Geo mailing list
R-sig-Geo at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
More information about the R-sig-Geo
mailing list