Last active
February 6, 2023 11:16
-
-
Save SmiddyPence/d404b3354f45df293f9c to your computer and use it in GitHub Desktop.
R Studio Behind a Proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Create the .Renviron file in user home. Likely /Documents on Windows (You should find a .Rhistory file there) | |
This file isn't created until you have close RStudio for the first time. | |
options(internet.info = 0) | |
http_proxy=http://my-proxy-server/ | |
http_proxy_user=username:password | |
2) Check in RStudio Sys.getenv("http_proxy") | |
3) In RStudio, go to Tools > Global Options... > Packages > Uncheck - "Use Internet Explorer library/proxy for HTTP." |
I've come across this today and I have gotten the proxy details in to the renviron.site file. I would like to carry out step 3 from the steps above 3) In RStudio, go to Tools > Global Options... > Packages > Uncheck - "Use Internet Explorer library/proxy for HTTP."
using the rprofile.site file, however the methods I found don't appear to work or are defunct. Does anyone have a way of unchecking the box without manually doing so??
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there any guidance for Linux environment and situations where domain is involved.