Skip to content

Proxy Under Mac OS X

2 messages · Chung-hong Chan, Brian Ripley

#
Dear R programmers,

I can only config. proxy under Mac OS X terminal and launch R under Terminal by

Terminal:

export http_proxy="http://un:pw at proxy.com:port"

Under R:
I don't know how to config this in R for Mac OS X Aqua GUI.
I checked the relevant document but no specific steps for Mac OS X.

Regards,
Ch Chan
#
The most 'relevant document' is ?download.file, and there is AFAIK 
nothing specific to MacOS X about the code (and I did write it).

You can use

Sys.setenv(http_proxy="http://un:pw at proxy.com:port")

at the start of your R session, or use

http_proxy="http://un:pw at proxy.com:port"

in your ~/.Renviron file (see 'An Introduction to R' and ?Startup).
On Fri, 1 Jun 2007, Chung-hong Chan wrote: