
Hi Ben,
 
Thanks for your remider and the following is the whole information I got:
 
 
 
Installing package(s) into ．/home/yungweichen/R/i486-pc-linux-gnu-library/2.13・
(as ．lib・ is unspecified)
trying URL 'http://cran.cs.wwu.edu/src/contrib/rgdal_0.7-1.tar.gz'
Content type 'application/x-gzip' length 1432509 bytes (1.4 Mb)
opened URL
==================================================
downloaded 1.4 Mb
* installing *source* package ．rgdal・ ...
gdal-config: gdal-config
./configure: line 2013: gdal-config: command not found
Error: gdal-config not found
The gdal-config script distributed with GDAL could not be found.
If you have not installed the GDAL libraries, you can
download the source from  http://www.gdal.org/
If you have installed the GDAL libraries, then make sure that
gdal-config is in your path. Try typing gdal-config at a
shell prompt and see if it runs. If not, use:
 --configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
with appropriate values for your installation.
ERROR: configuration failed for package ．rgdal・
* removing ．/home/yungweichen/R/i486-pc-linux-gnu-library/2.13/rgdal・
The downloaded packages are in
 ．/tmp/RtmpjttzmJ/downloaded_packages・
Warning message:
In install.packages("rgdal") :
  installation of package 'rgdal' had non-zero exit status
 
 
 
 
 
Yung-wei

 

> Subject: Re: [R-sig-Geo] problem for installing "rgdal" package in r
> From: lists@remoteinformation.com.au
> Date: Tue, 6 Sep 2011 12:51:49 +0800
> CC: r-sig-geo@r-project.org
> To: robin50488@hotmail.com
> 
> At a guess your error message was slightly longer than you have posted below - which only says that the install failed. 
> 
> The more information you provide the better your chances of help...
> 
> cheers
> 
> Ben
> 
> 
> On 06/09/2011, at 12:27 PM, 劾 ッ斡 wrote:
> 
> > 
> > Hi,
> > 
> > I am a begginner using R in Linux system and I am doing some spatial
> > research. Recently, I tried to install "rgdal" package in Linux system but
> > I got the error message "installation of package 'rgdal' had non-zero exit
> > status".
> > It is impossible I can update the version of R because it is our
> > department system. Therefore, I wonder if there is any other ways to
> > install package.
> > Can you help me to deal with this problem? Thank you in advance.
> > 
> > 
> > 
> > Yung-wei Chen
> > 
> > 
> > [[alternative HTML version deleted]]
> > 
> > _______________________________________________
> > R-sig-Geo mailing list
> > R-sig-Geo@r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 
 		 	   		  
	[[alternative HTML version deleted]]

