[R] Installation require proxy settings (continued)

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Feb 9 21:18:02 CET 2010


On Tue, 9 Feb 2010, Greg Snow wrote:

> Timing can be an issue.  You need to set the environment variables before accessing the internet for the 1st time in each R session.  If you get the error, then try setting the variables, it will not work.
>
> For my situation I have http_proxy and http_proxy_user set for the entire computer (in windows you do this through the control panel).
>
> If you want to go with the .Renviron route, just type: Sys.getenv('home')
> At the command prompt and it will tell you what your "Home" folder is.  Just create the .Renviron file in that folder.

I believe the OP specified internet2.dll on installation.  It might be 
better not to do so ... otherwise you are at the mercy of IE 
internals.  The rw-FAQ does say (Q2.19)

(a) Use the alternative internet2.dll by starting R with the flag 
--internet2 (see How do I install R for Windows?) or calling 
setInternet2(TRUE). These cause R to use the Internet Explorer 
internals.. Note that this does not work with proxies that need 
authentication.

> -- 
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermountain Healthcare
> greg.snow at imail.org
> 801.408.8111
>
>
>> -----Original Message-----
>> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
>> project.org] On Behalf Of Van Wyk, Jaap
>> Sent: Monday, February 08, 2010 10:11 PM
>> To: r-help at r-project.org
>> Subject: Re: [R] Installation require proxy settings (continued)
>> Importance: High
>>
>> Thanks to Greg and Michael for their advice.
>> I have tried all these possibilities (and other); nothing seems to
>> work; I persistently get the message:
>> In open.connection(con, "r") :
>>   cannot open: HTTP status was '407 Proxy Authentication Required'
>> It seems as if "proxy authentication required" is causing the problem.
>> It seems I have to set up an .Renviron file, but I am still learning R,
>> and cannot find such a file.
>> Would it help, and how do I create it (it that is a possible
>> alternative to try).
>> Thanks for any comments.
>> Jacob
>>
>>
>> Jacob L van Wyk
>> Department of Statistics
>> University of Johannesburg (APK)
>> PO Box 524, Auckland Park, 2006
>> Office ph: 011 559 3080
>> Fax: 011 559 2499
>>
>>
>> ________________________________
>> This email and all contents are subject to the following disclaimer:
>>
>> http://www.uj.ac.za/UJ_email_legal_disclaimer.htm
>>
>> 	[[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at r-project.org 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.
>
> ______________________________________________
> R-help at r-project.org 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.
>

-- 
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



More information about the R-help mailing list