无法安装rgdal包

时间:2014-03-18 06:36:19

标签: r rstudio shapefile rgdal

我必须使用shapefile并将它们转换为栅格,建议使用包rgdal,但无法识别包(R v2.11,RStudio 0.98.501,Mac OS X 10_7_5)。我怎么还能安装rgdal或省略这个包?

为了澄清我的问题,错误信息是:

> install.packages("rgdal")
Warning in install.packages :
  cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
  cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
  unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/macosx/leopard/contrib/2.11
Warning in install.packages :
  argument 'lib' is missing: using '/Users/myname/Library/R/2.11/library'
Warning in install.packages :
  cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
  cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
  unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/macosx/leopard/contrib/2.11
Warning in install.packages :
  package ‘rgdal’ is not available

0 个答案:

没有答案