Dear All, I would like to run R on my computer (with win xp on it) at work bu the proxy restrictions of the university don't let me download the packages or to connect to a cran mirror, I usually get this message:> chooseCRANmirror()Warning message: In open.connection(con, "r") : unable to connect to 'cran.r-project.org' on port 80. Do you know if there is a way to set proxy settings for using R normally? Thanks a lot -- View this message in context: http://n4.nabble.com/How-to-set-proxy-settings-for-R-tp2016158p2016158.html Sent from the R help mailing list archive at Nabble.com.
Try this: setInternet2() chooseCRANmirror() On Mon, Apr 19, 2010 at 1:00 PM, danda <gallia@tcd.ie> wrote:> > Dear All, > > I would like to run R on my computer (with win xp on it) at work bu the > proxy restrictions of the university don't let me download the packages or > to connect to a cran mirror, I usually get this message: > > > chooseCRANmirror() > Warning message: > In open.connection(con, "r") : > unable to connect to 'cran.r-project.org' on port 80. > > Do you know if there is a way to set proxy settings for using R normally? > Thanks a lot > -- > View this message in context: > http://n4.nabble.com/How-to-set-proxy-settings-for-R-tp2016158p2016158.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. >-- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[alternative HTML version deleted]]
Also, the FAQ suggests using the alternative internet2.dll by starting R with the flag --internet2 If you start R from a desktop icon, you can add the --internet flag to the target line (right click, properties) e.g. "C:\Program Files\R\R-2.8.1\bin\Rgui.exe" --internet2 see http://cran.r-project.org/bin/windows/rw-FAQ.html#The-Internet-download-functions-fail_002e HTH Pete -- View this message in context: http://n4.nabble.com/How-to-set-proxy-settings-for-R-tp2016158p2016511.html Sent from the R help mailing list archive at Nabble.com.
Hi: One alternative to sneaking around the proxy restrictions is to load R onto a jump drive and run it off of that. I know of several instructors who are using that approach with their students for similar reasons. Unless you have a compelling reason to install every single package, you should be able to fit R comfortably on a 4Gb memory stick. Just wanted to provide a different possible solution to your problem :) Dennis On Mon, Apr 19, 2010 at 9:00 AM, danda <gallia@tcd.ie> wrote:> > Dear All, > > I would like to run R on my computer (with win xp on it) at work bu the > proxy restrictions of the university don't let me download the packages or > to connect to a cran mirror, I usually get this message: > > > chooseCRANmirror() > Warning message: > In open.connection(con, "r") : > unable to connect to 'cran.r-project.org' on port 80. > > Do you know if there is a way to set proxy settings for using R normally? > Thanks a lot > -- > View this message in context: > http://n4.nabble.com/How-to-set-proxy-settings-for-R-tp2016158p2016158.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. >[[alternative HTML version deleted]]