Re: [R] Installation require proxy settings (2)

2010-02-10 Thread Greg Snow
The http_proxy environmental variable should look something like: 
http://your.proxy.com:8080  (at least that is what mine looks like and it 
works), my http_proxy_user is just the word "ask" which makes it prompt me for 
my username and password (first time I connect each session).

You can double check that R is getting the correct values by using: 
Sys.getenv("http_proxy") and seeing that that matches what it should.

I have not received your particular error, so am not sure exactly what is 
causing it.  Try the above, it may help.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111


> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Van Wyk, Jaap
> Sent: Wednesday, February 10, 2010 1:49 AM
> To: r-help@r-project.org
> Subject: [R] Installation require proxy settings (2)
> Importance: High
> 
> Hi
> Thanks again to Greg, and Prof Ripley.
> Greg, I was trying to send you an email, but has been unsuccessful.
> Speaking to someone from our IT deparment, I am trying to follow your
> advice to implement the settings to my computer (using Windows), by
> using Control Panel.
> I have selected System in Control Panel and chose System, Advanced tab,
> Environmental Variables, and created the user variables:
> http_proxy, with value 152.106.241.34:3128
> http_proxy_user, with value user:pass (replacing these with my own
> username and password to connect to the internet via Internet Explorer.
> I have deleted R, rebooted the computer, and installed R again (NOT
> choosing Internet2).
> Then after opening Rgui.exe, I go to the Packages menu in the R
> console, and select  "Set CRAN mirror". I choose one, but the R comes
> back with the following:
> R> chooseCRANmirror()
> Error in m[, 1L] : incorrect number of dimensions
> 
> Could you possibly think of a fix for this problem? (Maybe I should try
> setting System variables?)
> 
> Thanks
> 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@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@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] Installation require proxy settings (2)

2010-02-10 Thread Van Wyk, Jaap
Hi
Thanks again to Greg, and Prof Ripley.
Greg, I was trying to send you an email, but has been unsuccessful.
Speaking to someone from our IT deparment, I am trying to follow your advice to 
implement the settings to my computer (using Windows), by using Control Panel.
I have selected System in Control Panel and chose System, Advanced tab, 
Environmental Variables, and created the user variables:
http_proxy, with value 152.106.241.34:3128
http_proxy_user, with value user:pass (replacing these with my own username and 
password to connect to the internet via Internet Explorer.
I have deleted R, rebooted the computer, and installed R again (NOT choosing 
Internet2).
Then after opening Rgui.exe, I go to the Packages menu in the R console, and 
select  "Set CRAN mirror". I choose one, but the R comes back with the 
following:
R> chooseCRANmirror()
Error in m[, 1L] : incorrect number of dimensions

Could you possibly think of a fix for this problem? (Maybe I should try setting 
System variables?)

Thanks
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@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.