Rgdal包具有非零退出状态

时间:2018-04-18 15:46:15

标签: r package install cran rgdal

我正在尝试安装Rgdal for R,这是我从CRAN存储库下载的,当我运行安装时出现以下错误:

>install.packages('/data/ZUY10/Repo/R/rgdal_1.2-20.tar.gz','/usr/lib64/R/library/',repos = NULL)
* installing *source* package ‘rgdal’ ...
configure: CC: gcc -m64 -std=gnu99
configure: CXX: g++ -m64
configure: rgdal: 1.2-20
checking for /usr/bin/svnversion... no
cat: inst/SVN_VERSION: No such file or directory
configure: svn revision:
checking for gdal-config... no
no
configure: error: gdal-config not found or not executable.
ERROR: configuration failed for package ‘rgdal’
* removing ‘/usr/lib64/R/library/rgdal’
Warning message:
In install.packages("/data/ZUY10/Repo/R/rgdal_1.2-20.tar.gz", "/usr/lib64/R/library/",  :
  installation of package ‘/data/ZUY10/Repo/R/rgdal_1.2-20.tar.gz’ had non-zero exit status

安装此软件包的任何帮助

0 个答案:

没有答案