我已经安装了R 3.0.2版本和KEGGREST
包。在使用命令时,我遇到了以下错误。
Error in function (type, msg, asError = TRUE) : couldn't connect to host
我可以通过使用 --internet2 选项从互联网上安装软件包,并且该选项会使用Internet Explorer中的代理详细信息。
请帮忙解决。 非常感谢。
我已经安装了R 3.0.2版本和KEGGREST
包。在使用命令时,我遇到了以下错误。
Error in function (type, msg, asError = TRUE) : couldn't connect to host
我可以通过使用 --internet2 选项从互联网上安装软件包,并且该选项会使用Internet Explorer中的代理详细信息。
请帮忙解决。 非常感谢。
httr使用不同的方法连接到互联网:您需要使用以下命令显式设置代理:
set_config(use_proxy(url='your.proxy.url',port,username,password))
请参阅:
http://www.inside-r.org/packages/cran/httr/docs/use_proxy
更多细节请参考。