[R] Problem in installing rgdal package in linux

Albrecht Kauffmann @|k@u||m @end|ng |rom |@@tm@||@|m
Tue Sep 18 09:30:47 CEST 2018


Hi Lily,

did you install gdal on your system?

Best,
Albrecht

-- 
  Albrecht Kauffmann
  alkauffm using fastmail.fm

Am Di, 18. Sep 2018, um 08:59, schrieb lily li:
> Hi all,
> 
> I am installing rgdal package in linux for R, and got the error below. I
> typed: $ install.packages("rgdal", repos= "http://cran.us.r-project.org")
> 
> What is the problem and how to correct it? Thanks for your kind help.
> 
> ============================== print the error message here
> 
> downloaded 1.6 MB
> 
> 
> * installing *source* package ‘rgdal’ ...
> 
> ** package ‘rgdal’ successfully unpacked and MD5 sums checked
> 
> configure: R_HOME: /usr/lib64/R
> 
> configure: CC: gcc -m64 -std=gnu99
> 
> configure: CXX: g++ -m64
> 
> configure: C++11 support available
> 
> configure: rgdal: 1.3-4
> 
> checking for /usr/bin/svnversion... yes
> 
> configure: svn revision: 766
> 
> checking for gdal-config... no
> 
> no
> 
> configure: error: gdal-config not found or not executable.
> 
> ERROR: configuration failed for package ‘rgdal’
> 
> * removing ‘/directory/R/x86_64-redhat-linux-gnu-library/3.5/rgdal’
> 
> 
> The downloaded source packages are in
> 
> ‘/tmp/RtmpplM8mi/downloaded_packages’
> 
> Warning message:
> 
> In install.packages("rgdal") :
> 
>   installation of package ‘rgdal’ had non-zero exit status
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list