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