[R-SIG-Mac] Setting environment variables, especially http_proxy and ftp_proxy

Kasper Daniel Hansen khansen at stat.Berkeley.EDU
Wed Apr 5 22:43:14 CEST 2006


And I guess you can put it in .Renviron which contains environment  
variables being set when you run R. I am not sure however that the  
Rgui reads that file? I know there are ways to run R without the file  
being read - I think R CMD BATCH is one of them.

/Kasper

On Apr 5, 2006, at 12:44 PM, Simon Urbanek wrote:

> Doug,
>
> On Apr 5, 2006, at 2:35 PM, Douglas Bates wrote:
>
>> I have installed the universal binary for R-2.2.1 on an Intel Mac
>> that is behind a firewall.  How do I ensure that the http_proxy
>> environment variable is set when I start R?  I understand that I
>> must do this before the first time I use the internal network code.
>>
>> I tend to work with a private library (Martin: I really do mean
>> "library", not "package" :-) as the first element in the search
>> path for packages so it would be helpful if I could learn how to
>> set R_LIBS as well.
>>
>
> There are several ways to set environment variables for specific
> applications, but this is probably the most widely used one:
> http://developer.apple.com/qa/qa2001/qa1067.html
>
> Cheers,
> Simon
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list