2
一旦安装了geos库(C ++和C),然后尝试安装rgeos软件包(R),它将报告缺少geos-config!
知道R语言的rgeos软件包需要事先安装geos库,因此我在Ubuntu 12.04(32位)计算机上使用了突触安装程序安装了libgeos和libgeos-c1(3.2.2)。 然后,我尝试直接从R控制台安装rgeos,从某种意义上说,它发出的消息是找不到geos-config。输出如下: > install.packages("rgeos") Installing package(s) into ‘/home/checo/R/i486-pc-linux-gnu-library/2.15’ (as ‘lib’ is unspecified) also installing the dependency ‘sp’ probando la URL 'http://cran.rstudio.com/src/contrib/sp_1.0-9.tar.gz' Content type 'application/x-gzip' length 882102 bytes (861 Kb) URL abierta ================================================== downloaded 861 Kb probando la URL 'http://cran.rstudio.com/src/contrib/rgeos_0.2-19.tar.gz' Content type 'application/x-gzip' length 221471 bytes (216 Kb) URL abierta …