我想要用R联网,网上面收到信息:https://bbs.pinggu.org/thread-726371-1-1.html
让设置http_proxy,里面提到your_proxy:your_port,我想问问的是:
1、your_proxy是ip,your_prot是端口么?
2、your_proxy:是怎么得到的,your_prot是怎么得到的?
我的R语言是windows10的,浏览器能联网,用install.package也能够下载包,但我现在想要R语言联网,想知道怎么设置,求大神回答,谢谢。
我的报错信息如下,
+ Failed to establish an Internet connection.
+
+ If other applications, such as your web browser, are successfully connected
+ to the internet, the problem may be that your organisation is routing internet
+ traffic through a proxy server. If so, you must set the proxy settings environment
+ variable http_proxy, from the R command prompt, by using the Sys.setenv function.
+ (NOTE: There is an underscore between 'http' and 'proxy'.)
+ For example: Sys.setenv(http_proxy = http://localhost:8888/)
+ In this example, the internet proxy server is in operation on localhost at
+ port 8888. These two values will differ for each organisation, and should be
+ obtained from your network support department.