在工作中,我通常必须设置setInternet2(use=TRUE)
选项才能访问用于更新软件包等的密码。但是,在将win explorer更新为版本8后,这似乎不再有效。这是在使用和不使用setInternet2选项的情况下尝试安装e1071后的输出。
如果可以解决这个问题吗?
> 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)
答案 0 :(得分:0)
与您的网络管理员联系。让他们检查IE8的连接设置是否配置正确。它们也可能阻止某些类型的流量,无论IE8在您的工作场所使用哪个端口都是默认的。