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:[EMAIL PROTECTED]:port")

at the start of your R session, or use

http_proxy="http://un:[EMAIL PROTECTED]:port"

in your ~/.Renviron file (see 'An Introduction to R' and ?Startup).


On Fri, 1 Jun 2007, Chung-hong Chan wrote:

> 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:[EMAIL PROTECTED]:port"
>
> Under R:
>
>> chooseCRANmirror(graphics=FALSE)
>> update.packages()
>
> 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
>
>
>
>

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to