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:
> 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:
>
>> 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, ripley at stats.ox.ac.uk
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