楼主: yijiaobani
2852 0

[问答] R语言联网 设置 http_proxy [推广有奖]

  • 4关注
  • 5粉丝

已卖:69份资源

博士生

26%

还不是VIP/贵宾

-

威望
0
论坛币
191 个
通用积分
10.6711
学术水平
2 点
热心指数
8 点
信用等级
0 点
经验
5127 点
帖子
147
精华
0
在线时间
236 小时
注册时间
2015-5-18
最后登录
2020-10-28

楼主
yijiaobani 发表于 2016-3-23 09:16:08 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
我想要用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.


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:proxy HTTP ttp R语言 Organisation Internet 浏览器 browser Failed 网上

<img src="stati ...

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-30 04:36