Wednesday, April 18, 2018

R语言代理设置

Sys.setenv(http_proxy="http://user:password@proxy_server:port")

目前上述方式是比较有效的方法,即直接在console中进行代理的设置
具体参照 https://support.rstudio.com/hc/en-us/articles/200488488-Configuring-R-to-Use-an-HTTP-or-HTTPS-Proxy
https://support.rstudio.com/hc/en-us/community/posts/204007027-How-to-use-proxy-in-RStudio-on-Mac-OS-X-Yoesmite-

No comments:

Post a Comment