我在Windows 7下通過install.packages命令將sp和automap庫安裝到了我的R 3.0.1 64位版本。它們的安裝沒有顯示任何錯誤和庫(SP)工作正常,但是當我嘗試執行庫(自動地圖)我得到以下錯誤:Windows7中的Automap庫問題(帶R 3.0.1)
> library(automap)
Error in gzfile(file, "rb") : cannot open the connection
In addition: Warning messages:
1: In read.dcf(file.path(p, "DESCRIPTION"), c("Package", "Version")) :
cannot open compressed file 'C:/Program Files/R/R-3.0.1/library/sp/DESCRIPTION', probable reason 'No such file or directory'
2: In gzfile(file, "rb") :
cannot open compressed file '', probable reason 'Invalid argument'
我從路徑看,確實沒有說明文件(或文件夾)在該路徑。然而,只有libs文件夾下的文件夾x64和其中的文件sp.dll
任何想法可能會導致此?
你用來安裝軟件包的命令是什麼? –