On Tue, 17 Apr 2007, Antonio Olinto wrote:
> Hi all,
>
> I used to connect internet via a proxy. Before update packages I wrote in R
>
>
Sys.putenv("http_proxy"="http://proxy3.redegov.sp.gov.br:80/")
>
> Nevertheless the way the connection is done has changed. For example, in
the
> browser the proxy is not indicated and I have to give an username and a
> password to have access to internet.
This is nothing to do with a browser: see below.
> I read the FAQ and the help for download.file but I was not able to do
updates.
>
> I tried
> Sys.putenv("http_proxy_user"="ask")
> Sys.putenv("http_proxy_user"="http://****:****")
It does say
Setting Proxies:
This applies to the internal code only.
...
These environment variables must be set before the download code
is first used: they cannot be altered later by calling
'Sys.setenv'.
You can debug the download.file() session via option() 'internet.info',
which should show you what is happening.
--
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