Look at ?download.file and scroll down to the section titled "Setting Proxies".
-- 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: Monday, February 08, 2010 3:13 AM > To: r-help@r-project.org > Subject: [R] R installation require proxy setting > Importance: High > > Could somebody please assist with the problem I have now. > At our university certain changes have been made to users regarding > accessing the internet. > I have re-installed the (current) version of R, using custom settings > (for Windows XP), choosing amongst other things "Internet2" somewhere. > Now, when I wish to install new packages, I first have to select a CRAN > mirror. > R gives me a list to choose a mirror. But after choosing the mirror, R > comes back with the following: > > R> chooseCRANmirror() > Warning message: > In open.connection(con, "r") : > cannot open: HTTP status was '407 Proxy Authentication Required' > > I need to tell R that I need a proxy server, and give my proxy settings > (how I log onto the server to connect to the Internet. > > My question is: Where/how do I set this? > > Any advice is much appreciated. > > Thank you. > > 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.