also try this command to set the proxy Sys.setenv(http_proxy="http://proxy_server_ip :port_for_proxy")
The woods are lovely, dark and deep But I have promises to keep And miles to go before I sleep And miles to go before I sleep ----- On Thu, May 9, 2013 at 7:50 AM, Nilesh Gupta <gupta.niles...@gmail.com>wrote: > Alex > > For using a proxy server configuration with R please ensure that you use > the internet2 ddl to connect to the internet. It can be set in an R session > by using setInternet2(TRUE). > Besides all of these you should really set up a new version of R. > > Regards > > The woods are lovely, dark and deep > But I have promises to keep > And miles to go before I sleep > And miles to go before I sleep > ----- > > > On Thu, May 9, 2013 at 6:28 AM, Pascal Oettli <kri...@ymail.com> wrote: > >> Hello, >> >> About problem for R to download files: >> http://cran.r-project.org/bin/**windows/rw-FAQ.html#The-** >> Internet-download-functions-**fail_002e<http://cran.r-project.org/bin/windows/rw-FAQ.html#The-Internet-download-functions-fail_002e> >> >> The repertory "2.9" for the second mirror doesn't exist. >> >> Hope this helps, >> Pascal >> >> >> >> On 05/09/2013 09:30 AM, Alex Collier wrote: >> >>> Hi, >>> >>> I am having some trouble trying to install a number of packages in R on >>> my work computer. An example of the code I am using is as follows: >>> >>> install.packages("ggplot2",**dependencies=TRUE) >>> >>> An example of the error messages I am getting is: >>> >>> Warning: unable to access index for repository >>> http://cran.stat.auckland.ac.**nz/bin/windows/contrib/2.9<http://cran.stat.auckland.ac.nz/bin/windows/contrib/2.9> >>> Warning: unable to access index for repository >>> http://www.stats.ox.ac.uk/pub/**RWin/bin/windows/contrib/2.9<http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.9> >>> Warning messages: >>> 1: In open.connection(con, "r") : unable to resolve 'cran.r-project.org' >>> 2: In getDependencies(pkgs, dependencies, available, lib) : >>> package çµgplot2� is not available >>> >>> >>> The version of R I am using is 2.9.1. >>> >>> I have tried the same script at home with no problems and also at my >>> previous workplace. I thought it may be to do with not having IT >>> administrator privileges but and IT administrator tried with the same >>> result and also tried the latest version of R with the same result. The It >>> administrator also did not see any internet traffic from my machine when I >>> tried the install so we have come to the conclusion that R must not be able >>> to access the internet from my machine � I do have general internet >>> access. >>> >>> We are using a proxy server (TMG � Microsoftç´ Threat Management >>> Gateway). Can R work with a proxy server on the network? >>> >>> If so, how should this be configured so that a Network Administrator can >>> make the appropriate changes? >>> >>> Thanks for your help. >>> >>> Regards, >>> >>> Alex Collier >>> >>> >>> >>> N稾u noa n� >>> >>> Alex Collier >>> Research Analyst >>> SuPERU (Social Policy Evaluation and Research Unit) >>> Families Commission | Kîihç©a � Whç©au >>> >>> Level 5, Public Trust Building >>> 117-125 Lambton Quay >>> PO Box 2839 >>> WELLINGTON >>> >>> DDI 04 917 7048 | Fax 04 917 7059 >>> Email: alex.coll...@nzfamilies.org.nz**<mailto:alex.collier@** >>> nzfamilies.org.nz <alex.coll...@nzfamilies.org.nz>> >>> Web: >>> www.nzfamilies.org.nz<http://**www.nzfamilies.org.nz/<http://www.nzfamilies.org.nz/> >>> > >>> Follow us on Facebook<http://www.facebook.** >>> com/pages/Families-Commission/**121836017891600<http://www.facebook.com/pages/Families-Commission/121836017891600>> >>> | Follow us on >>> Twitter<https://twitter.com/**nzfamilies<https://twitter.com/nzfamilies> >>> > >>> A centre of excellence about families and whç©au >>> >>> >>> >>> ------------------------------**------------ >>> This email is confidential. If it is not intended for you please do not >>> read, distribute or copy it or any attachments. Please notify the sender by >>> return email and delete the original message and any attachments. >>> >>> Any views expressed in this email may be those of the individual sender >>> and may not necessarily reflect the views of the Families Commission. >>> >>> ------------------------------**------------ >>> >>> [[alternative HTML version deleted]] >>> >>> >>> >>> ______________________________**________________ >>> R-help@r-project.org mailing list >>> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help> >>> PLEASE do read the posting guide http://www.R-project.org/** >>> posting-guide.html <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<https://stat.ethz.ch/mailman/listinfo/r-help> >> PLEASE do read the posting guide http://www.R-project.org/** >> posting-guide.html <http://www.R-project.org/posting-guide.html> >> and provide commented, minimal, self-contained, reproducible code. >> > > [[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.