安装rgdal软件包是否也会在您的计算机上安装GDAL?
当我看包rgdal的文档时,它说 “R贡献的包rgdal可从CRAN获得,作为源包安装在具有完整构建序列和外部依赖性的平台上。” GDAL是一个外部依赖项,所以我认为这意味着它将从CRAN下载并与包一起安装 当我将包rgdal加载到我的R工作区时,我收到以下消息:安装rgdal软件包是否也会在您的计算机上安装GDAL?,r,gdal,rgdal,R,Gdal,Rgdal,当我看包rgdal的文档时,它说 “R贡献的包rgdal可从CRAN获得,作为源包安装在具有完整构建序列和外部依赖性的平台上。” GDAL是一个外部依赖项,所以我认为这意味着它将从CRAN下载并与包一起安装 当我将包rgdal加载到我的R工作区时,我收到以下消息: Geospatial Data Abstraction Library extensions to R successfully loaded Loaded GDAL runtime: GDAL 2.2.3, released 2
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 2.2.3, released 2017/11/20
Path to GDAL shared files: C:/Users/andersonch/Documents/R/win-library/3.5/rgdal/gdal
GDAL binary built with GEOS: TRUE
Loaded PROJ.4 runtime: Rel. 4.9.3, 15 August 2016, [PJ_VERSION: 493]
Path to PROJ.4 shared files: C:/Users/andersonch/Documents/R/win-library/3.5/rgdal/proj
Linking to sp version: 1.4-1
同样,我会认为这意味着程序包连接到的GDAL有一个有效版本
但是,当我尝试使用gdalUtils包中的函数时,会收到以下警告消息:
Warning messages:
1: In gdal_setInstallation(ignore.full_scan = ignore.full_scan, verbose = verbose) :
No GDAL installation found. Please install 'gdal' before continuing:
- www.gdal.org (no HDF4 support!)
- trac.osgeo.org/osgeo4w/ (with HDF4 support RECOMMENDED)
- www.fwtools.maptools.org (with HDF4 support)
2: In gdal_setInstallation(ignore.full_scan = ignore.full_scan, verbose = verbose) :
If you think GDAL is installed, please run:
gdal_setInstallation(ignore.full_scan=FALSE)"
这是否意味着我需要单独安装gdal