r - rgdal 无法识别 GDAL 版本
问题描述
我正在尝试在 RHEL 6 上安装 rgdal。我已经安装了 GDAL 版本 1.7.3 和 PROJ 版本 4.7.0-1。当我跑
install.packages("rgdal")
我收到以下错误:
checking gdal-config usability... yes
configure: GDAL: 1.7.3
checking GDAL version >= 1.11.4... no
configure: error: upgrade GDAL to 1.11.4 or later
ERROR: configuration failed for package ârgdalâ
* removing â/usr/lib64/R/library/rgdalâ
rgdal CRAN 页面说您需要 GDAL 1.1 或更高版本。不支持GDAL 1.7吗?谁能告诉我如何安装兼容版本的 GDAL 或解释如何让 R 识别我当前的版本?
我正在使用 R 3.5.0
解决方案
您至少需要 GDAL 版本 1.11,而不是 1.1。
推荐阅读
- java - How to convert the installation of eclipse from eclipse for java developer to eclipse for EE developers?
- python - Element equals its index code wars problem need to pass time limit
- java - Jsp包括不工作:找不到文件,状态500
- php - Disable auto hashing of password while login - Laravel
- amazon-web-services - 修复 Amazon Cognito - 使用 Apple 登录 - “提供了无效状态/中继状态”
- java - Java 处理 Spring Data 本机查询投影中的 NPE
- mysql - 排序顺序 SQL 表
- java - TarArchiveOutputStream 未归档隐藏文件
- node.js - 使用 https 我如何对未定义的状态代码进行条件化?
- c# - Linq to Xml C#在特定元素中查找特定元素