我是R的新手。我有一个下面的网址,我想用光栅包打开它:
$match
我尝试使用光栅包打开它:
m<-http://abc.amazonaws.com/thredds/dodsC/abc/2017092600/mnc
但是我得到了以下错误:
library(raster)
file<- raster(m)
然后,我尝试使用
安装rgdal包 Error in .rasterObjectFromFile(x, band = band, objecttype = "RasterLayer", :
Cannot create RasterLayer object from this file; perhaps you need to install rgdal first
但是我得到了以下错误:
install.packages("rgdal")
有人可以帮我吗?
提前致谢!