On 06/22/2011 08:27 PM, 张志坤 wrote:
> Dear groups:
> I have tried to install rgdal in my Ubuntu, but it is not as straight
> as installing "sp". It demand the pre-installed GDAL and proj.4.
> I searched the source code in http://trac.osgeo.org/proj/ and
> http://trac.osgeo.org/gdal/wiki/DownloadSource. but don't know how to
> compile them.

Ethan,

You need the development packages of GDAL and proj4. Probably easier to
install from repository than from source. Try:

$ sudo apt-get install libgdal1-dev libproj-dev
$ sudo R
> install.packages("rgdal")

Best,
--Lee

-- 
Lee Hachadoorian
PhD Student, Geography
Program in Earth & Environmental Sciences
CUNY Graduate Center

_______________________________________________
R-SIG-Debian mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to