rgdal doesn't recognize GDAL version

帅比萌擦擦* 提交于 2019-12-08 12:13:17

问题


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")

I get the following error:

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â

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?

I'm using R 3.5.0


回答1:


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



来源:https://stackoverflow.com/questions/52426800/rgdal-doesnt-recognize-gdal-version

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!