1
在工作中,我通常必须设置setInternet2(use=TRUE)
选项才能访问cran以更新软件包等。但是,在将win explorer更新到版本8后,这似乎不再起作用。这是在尝试安装e1071以及调用setInternet2选项之后的输出。setInternet2无法连接窗口
任何想法,如果这可以得到纠正?
> install.packages("e1071")
Installing package(s) into ‘P:/R prg/R-2.13.1/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
unable to connect to 'cran.ma.imperial.ac.uk' on port 80.
Warning in install.packages :
unable to connect to 'cran.ma.imperial.ac.uk' on port 80.
Warning in install.packages :
unable to access index for repository http://cran.ma.imperial.ac.uk/bin/windows/contrib/2.13
Warning in install.packages :
unable to connect to 'www.stats.ox.ac.uk' on port 80.
Warning in install.packages :
unable to connect to 'www.stats.ox.ac.uk' on port 80.
Warning in install.packages :
unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.13
Warning in install.packages :
package ‘e1071’ is not available (for R version 2.13.1)
> setInternet2(use=TRUE)
> install.packages("e1071")
Installing package(s) into ‘P:/R prg/R-2.13.1/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages :
InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages :
unable to access index for repository http://cran.ma.imperial.ac.uk/bin/windows/contrib/2.13
Warning in install.packages :
InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages :
InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages :
unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.13
Warning in install.packages :
package ‘e1071’ is not available (for R version 2.13.1)
您可以随时手动下载/安装。你有跟CRAN接触吗? –
我最终把镜头包装到了我的USB上,我明天就带他们上班。即使在工作中浏览器的工作状况也很好。 – Misha
@Misha你确定'setInternet2(TRUE)'是否在从R的任何Web访问之前执行?我在'R-2.13.0 \ etc \ Rprofile.site'的第一行保留了'utils :: setInternet2(TRUE)'。它适用于我与IE8。第二件事:当你在IE中打开版本库目录时,它们是否有问题? – Marek