R: rgdal could not find "gdal"

Mark一下,安装rgdal后是不能使用gdal的功能的,比如如下代码会报错:

sds <- get_subdatasets(hdfpath)

错误是 unable to find "gdal", 这时需要下载gdal核心文件并且安装,下载网址如下:

http://www.gisinternals.com/release.php

选择版本,一般选择“Generic installer for the GDAL core components”就可以

posted @ 2016-03-09 06:25  Dr...Y  阅读(454)  评论(0编辑  收藏  举报