7
林试图安装一个名为“rgeos” R上3.3包,但是当我键入错误安装[R组件用于Linux
install.packages("rgeos")
但它返回我下面的错误(同样的情况与其他包,但不所有包):
> * installing *source* package ‘rgeos’ ...
** package ‘rgeos’ successfully unpacked and MD5 sums checked
configure: CC: gcc
configure: CXX: g++
configure: rgeos: 0.3-19
checking for /usr/bin/svnversion... no
configure: svn revision: 524
checking for geos-config... no
no
configure: error: geos-config not found or not executable.
ERROR: configuration failed for package ‘rgeos’
* removing ‘/home/kdg/R/x86_64-pc-linux-gnu-library/3.3/rgeos’
>
> The downloaded source packages are in
> ‘/tmp/Rtmpsa5pDo/downloaded_packages’ Warning message: In
> install.packages("rgeos") : installation of package ‘rgeos’ had
> non-zero exit status
任何线索如何CON安装此软件包?
您是否安装了任何geos库?在我的系统上,我有_geos_和_geos-devel_ – jgadoury
谢谢@ user20650它的工作! – Tangent3