[问题] 无法安装package

楼主: Ryomaa (龍馬精神)   2016-10-11 12:18:12
[问题类型]:
程式咨询(我想用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
请大大救命,查了好久都完全没有头绪。
谢谢
楼主: Ryomaa (龍馬精神)   2016-10-11 21:21:00
阿,结果用32bit就可以用了= =

Links booklink

Contact Us: admin [ a t ] ucptt.com