setInternet2无法连接窗口 [英] setInternet2 cannot connect windows

查看:311
本文介绍了setInternet2无法连接窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在工作中我通常必须设置 setInternet2(use = TRUE)选项才能访问用于更新包等的曲目。但是在他们将win explorer更新为版本之后8这似乎不再有效。这是在使用和不使用setInternet2选项的情况下尝试安装e1071后的输出。

At work I usually have to set the setInternet2(use=TRUE) option in order to access cran for updating packages etc.. However after they updated win explorer to version 8 this doesnt seem to work anylonger. This is the output after trying to install e1071 both with and without the setInternet2 option invoked.

是否有任何想法可以解决这个问题?

Any ideas if this can be remedied?

> 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)


推荐答案

与网络管理员交谈。让他们检查IE8的连接设置是否配置正确。它们也可能阻止某些类型的流量,无论IE8在您的工作场所使用哪个端口都是默认的。

Speak with your network admins. Get them to check that IE8's connection settings are configured properly. It's also possible that they are blocking some kinds of traffic whatever port is the default for IE8 to use at your workplace.

这篇关于setInternet2无法连接窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆