[UniMacTech] R on a Mac

Charlie Nancarrow C.Nancarrow at latrobe.edu.au
Wed Jun 24 15:18:30 EST 2009


Tony,

You can use

Sys.setenv(http_proxy="http://username:password@proxy.com:port")

at the start of your R session, or use

http_proxy="http://username:password@proxy.com:port"

in your ~/.Renviron file (create this file if it does not exist).


Cheers,

Charlie.


On 24/06/09 3:09 PM, "Tony Williams" <tonyw at honestpuck.com> wrote:

> Hi all,
> 
> I have an academic that wants to use R and I can't find a way to get it to use
> our proxy server to download the addon packages. It doesn't pick up the
> environment variable http_proxy if I set it in /etc/profile or ~/.profile so I
> assume I have to set it somewhere else.
> 
> Anyone have a Mac R user who has solved this problem?
> 
> // Tony
> 
> 

Charlie Nancarrow
IT Support Officer, IT Unit
Humanities & Social Sciences | La Trobe University | Bundoora
T: 03 94791480 | E: c.nancarrow at latrobe.edu.au | W: www.latrobe.edu.au

La Trobe University - ranked top in Victoria for student satisfaction
(Sweeney Uni Student Report, 2009)

CRICOS Provider 00115M

 Please kindly consider your environment before printing this e-mail

Warning to recipients:
This email and any attachments are confidential and subject to copyright. If
you are not the intended recipient any use, disclosure or copying is
unauthorised. If you have received this email in error please advise us
immediately by reply email and delete all copies. It is your responsibility
to examine this email and any attachments for viruses. Any personal
information in this email must be handled in accordance with the Information
Privacy Act 2000 (Vic).




More information about the unimactech mailing list