R语言 联网 怎么设置代理服务器proxy和port?

0
我安装一个R包,需要联网导入license,但是老是报错,我的浏览器可以联网,用R的install.package()函数也可以安装其它包,报错信息显示需要proxy:port,我上网搜了一下,需要代理服务器的proxy和port,我把路由器去掉,直接插入网线,还是报错。
我的问题:
proxy、port在哪里找,我用ipconfig找到一些ip,用默认的8080作为端口,不成功。
Sys.setenv(http_proxy = “proxy:port”),函数怎么用?
报错信息如下:
+ 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. 

++++++++++++++++++++
Error in vsni.checkLicenseInfo(askuser, msgout) : 
Failed to acquire a license.
求大神回答
已邀请:

要回复问题请先登录注册