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”就可以