我想要包GISTools
。我输入了命令
install.packages('GISTools')
除了rgeos
dependency
之外,它还会100%安装。请参阅下面Rstudio
给我的内容。
安装源包'rgeos'...
package ‘rgeos’ successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
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’
删除/home/sethie/R/x86_64-pc-linux-gnu-library/3.2/rgeos
Warning in install.packages :
installation of package ‘rgeos’ had non-zero exit status
ERROR: dependency ‘rgeos’ is not available for package ‘GISTools’
删除/home/sethie/R/x86_64-pc-linux-gnu-library/3.2/GISTools
Warning in install.packages :
installation of package ‘GISTools’ had non-zero exit status
The downloaded source packages are in
`/tmp/RtmpkDvA75/downloaded_packages`