hi, as I'm using R at Dell (where I am working), I manage to install packages from web, but there is a web proxy, which is pretty boring. R asks me to enter an active directory login/password, that would normally auth me through the web proxy, but it doesn't work. I'm looking forward for your help. Sorry if I used bad english. Any ideas ? Laurent -- «Un peu d'internationalisme éloigne de la patrie; beaucoup y ramène» Jean Jaurès@<http://www.le-valdo.com> [[alternative HTML version deleted]]
Hi Laurent, You should look the R windows FAQ web page: (a) Use the alternative |internet2.dll| by starting R with the flag --internet2 (see How do I install R for Windows? <http://cran.r-project.org/bin/windows/base/rw-FAQ.html#How-do-I-install-R-for-Windows_003f>) which uses the Internet Explorer internals (and so needs Internet Explorer 4 or later installed). Note that this does not work with proxies that need authentication. (b) A proxy needs to be set up: see |?download.file|. Here are two versions of an example (a real one, but from a machine that is only available locally) of a command-line in a short cut: "path_to_R\bin\RGui.exe" http_proxy=http://user:pass at gannet:80/ "path_to_R\bin\RGui.exe" http_proxy=http://gannet/ http_proxy_user=ask The second version will prompt the user for the proxy username and password when HTTP downloads are first used. Nolwenn Laurent Valdes wrote:>hi, > >as I'm using R at Dell (where I am working), I manage to install packages >from web, but there is a web proxy, which is pretty boring. >R asks me to enter an active directory login/password, that would >normally auth me through the web proxy, but it doesn't work. > >I'm looking forward for your help. Sorry if I used bad english. > >Any ideas ? > >Laurent > >-- >?Un peu d'internationalisme ?loigne de la patrie; beaucoup y ram?ne? >Jean Jaur?s@<http://www.le-valdo.com> > > [[alternative HTML version deleted]] > > > >------------------------------------------------------------------------ > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
Please do read the R posting guide and supply essential information such as your OS (and not send HTML mail). If you are using Windows, see the rw-FAQ Q2.19. Note that R never asks you for `an active directory login/password': it may *if you ask it to* ask for proxy identification. Quite likely it is your local system and not R which is asking, and you need to seek local advice. On Mon, 8 May 2006, Laurent Valdes wrote:> hi, > > as I'm using R at Dell (where I am working), I manage to install packages > from web, but there is a web proxy, which is pretty boring. > R asks me to enter an active directory login/password, that would > normally auth me through the web proxy, but it doesn't work.So how do you 'manage' when 'it doesn't work'?> I'm looking forward for your help. Sorry if I used bad english.-- 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
Thanks a lot, you are nice. Laurent. -----Original Message----- From: Nolwenn LeMeur [mailto:nlemeur at fhcrc.org] Sent: lundi 8 mai 2006 08:16 To: Laurent Valdes Cc: r-help at stat.math.ethz.ch; Remy Drouilhet; Valdes, Laurent; Pierre.Lafaye-de-Micheaux at iut2.upmf-grenoble.fr Subject: Re: [R] microsoft proxy & R project Hi Laurent, You should look the R windows FAQ web page: (a) Use the alternative |internet2.dll| by starting R with the flag --internet2 (see How do I install R for Windows? <http://cran.r-project.org/bin/windows/base/rw-FAQ.html#How-do-I-install-R-for-Windows_003f>) which uses the Internet Explorer internals (and so needs Internet Explorer 4 or later installed). Note that this does not work with proxies that need authentication. (b) A proxy needs to be set up: see |?download.file|. Here are two versions of an example (a real one, but from a machine that is only available locally) of a command-line in a short cut: "path_to_R\bin\RGui.exe" http_proxy=http://user:pass at gannet:80/ "path_to_R\bin\RGui.exe" http_proxy=http://gannet/ http_proxy_user=ask The second version will prompt the user for the proxy username and password when HTTP downloads are first used. Nolwenn Laurent Valdes wrote:>hi, > >as I'm using R at Dell (where I am working), I manage to install packages >from web, but there is a web proxy, which is pretty boring. >R asks me to enter an active directory login/password, that would >normally auth me through the web proxy, but it doesn't work. > >I'm looking forward for your help. Sorry if I used bad english. > >Any ideas ? > >Laurent > >-- >?Un peu d'internationalisme ?loigne de la patrie; beaucoup y ram?ne? >Jean Jaur?s@<http://www.le-valdo.com> > > [[alternative HTML version deleted]] > > > >------------------------------------------------------------------------ > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >