[問題] 無法安裝package

看板R_Language作者 (龍馬精神)時間9年前 (2016/10/11 12:18), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
[問題類型]: 程式諮詢(我想用R 做某件事情,但是我不知道要怎麼用R 寫出來) [軟體熟悉度]: 新手(沒寫過程式,R 是我的第一次) [問題敘述]: 抱歉剛開始學習使用R 在安裝package時出現連線問題 查了rseek.org都是說將防火牆關掉 以及在設定改CRAN mirrors位置,也都改過 [程式範例]: 在更改mirrors出現 > chooseCRANmirror() Warning: failed to download mirrors file (無法開啟 URL 'https://cran.r-project.org/CRAN_mirrors.csv'); using local file 'C:/PROGRA~1/R/R-33~1.1/doc/CRAN_mirrors.csv' Warning message: In download.file(url, destfile = f, quiet = TRUE) : InternetOpenUrl 失敗: '無法解析伺服器名稱或位址' > utils:::menuInstallPkgs() Warning: unable to access index for repository http://cran.csie.ntu.edu.tw/src/contrib: 無法開啟 URL 'http://cran.csie.ntu.edu.tw/src/contrib/PACKAGES' Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/src/contrib: 無法開啟 URL 'http://www.stats.ox.ac.uk/pub/RWin/src/contrib/PACKAGES' Error in install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) : no packages were specified [環境敘述]: R version 3.3.1 (2016-06-21) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1 locale: [1] LC_COLLATE=Chinese (Traditional)_Taiwan.950 [2] LC_CTYPE=Chinese (Traditional)_Taiwan.950 [3] LC_MONETARY=Chinese (Traditional)_Taiwan.950 [4] LC_NUMERIC=C [5] LC_TIME=Chinese (Traditional)_Taiwan.950 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_3.3.1 請大大救命,查了好久都完全沒有頭緒。 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.134.144.85 ※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1476159501.A.F01.html

10/11 21:21, , 1F
阿,結果用32bit就可以用了= =
10/11 21:21, 1F
文章代碼(AID): #1N_6WDy1 (R_Language)
文章代碼(AID): #1N_6WDy1 (R_Language)