rgdal无法识别GDAL版本 [英] rgdal doesn't recognize GDAL version

查看:237
本文介绍了rgdal无法识别GDAL版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在RHEL 6上安装rgdal.我已经安装了GDAL 1.7.3版和PROJ 4.7.0-1版.当我跑步

I'm trying to installed rgdal on RHEL 6. I've install GDAL version 1.7.3 and PROJ version 4.7.0-1. When I run

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识别我的当前版本?

The rgdal CRAN page says you need GDAL 1.1 or above. Is GDAL 1.7 not supported? Can anyone show me how to install a compatible version of GDAL or explain how to get R to recognize my current version?

我正在使用R 3.5.0

I'm using R 3.5.0

推荐答案

您需要至少具有GDAL版本1.11,而不是1.1.

You need to have at least GDAL version 1.11, not 1.1.

这篇关于rgdal无法识别GDAL版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆