无法安装Linux的软件包GISTools(Lubuntu)

时间:2016-09-07 03:47:47

标签: r install.packages

我想要包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`
    

0 个答案:

没有答案