[R] http proxies: setting and unsetting

2007-05-29 Thread matt.pettis
Hi, I am trying to use R at work and at home on the same computer. At work, I have a proxy, and at home, I do not. I have, for work, a User environment variable http_proxy which I set in the OS (Windows XP Pro). When I am at work, and I try to retrieve data from the web with 'read.csv',

Re: [R] http proxies: setting and unsetting

2007-05-29 Thread matt.pettis
Hi Gabor, Thanks for the reply and link. I took a look at the link -- one thing I don't understand is why if I delete the 'http_proxy' variable via the cmd shell (or equivalent OS dialog box), why I can get R to ignore the proxy, but using Sys.setenv(http_proxy=) won't do that for me (at

Re: [R] http proxies: setting and unsetting

2007-05-29 Thread matt.pettis
OK, I think I get that... do you know which namespace the Sys.setenv() function affects? Do you know if there are functions in R that can alter the user/system/process environment variables? Thanks, Matt -Original Message- From: Gabor Grothendieck [mailto:[EMAIL PROTECTED] Sent: Tue

Re: [R] http proxies: setting and unsetting

2007-05-30 Thread matt.pettis
Thanks... I'll check the documentation to see which file on Windows I need to alter to issue one of those commands. matt -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 12:39 AM To: Gabor Grothendieck Cc: Pettis, Matthew (Thomson);

Re: [R] http proxies: setting and unsetting

2007-05-30 Thread matt.pettis
Thanks... I'll give it a whirl... matt -Original Message- From: Gabor Grothendieck [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 10:22 AM To: Pettis, Matthew (Thomson) Cc: r-help@stat.math.ethz.ch Subject: Re: [R] http proxies: setting and unsetting There is also a free