[R] R version 4.2.1 install.packages does not work with IE proxy setting
petr@p|k@| @end|ng |rom prechez@@cz
Thu Oct 6 13:51:53 CEST 2022
Thanks, for the time being the previous workaround with wininet options
works for me. I will wait for the new R version and then try to persuade our
IT to make relevant changes.
> -----Original Message-----
> From: Howard, Tim G (DEC) <tim.howard using dec.ny.gov>
> Sent: Thursday, October 6, 2022 1:09 PM
> To: r-help using r-project.org; PIKAL Petr <petr.pikal using precheza.cz>
> Subject: Re: [R] R version 4.2.1 install.packages does not work with IE
> You also might want to check out the bug reported here:
> it was fixed and the last two comments discuss how to handle it in
> you add a new User Environment Variable:
> R_LIBCURL_SSL_REVOKE_BEST_EFFORT and set it to TRUE
> This fix is in R-4.2.1 Patched (I don't know if it has made it out to the
> distribution) and works in my 'corporate' environment. Perhaps it also
> to your environment.
> Date: Wed, 5 Oct 2022 10:34:02 +0000
> From: PIKAL Petr <petr.pikal using precheza.cz>
> To: Ivan Krylov <krylov.r00t using gmail.com>
> Cc: r-help mailing list <r-help using r-project.org>
> Subject: Re: [R] R version 4.2.1 install.packages does not work with
> IE proxy setting
> <9b38aacf51d746bb87a9cc3765a16b99 using SRVEXCHCM1302.precheza.cz>
> Content-Type: text/plain; charset="us-ascii"
> the workaround works but we need try the "permanent" solution with
> Renviron.site file in future.
> > -----Original Message-----
> > From: Ivan Krylov <krylov.r00t using gmail.com>
> > Sent: Tuesday, October 4, 2022 5:43 PM
> > To: PIKAL Petr <petr.pikal using precheza.cz>
> > Cc: r-help mailing list <r-help using r-project.org>
> > Subject: Re: [R] R version 4.2.1 install.packages does not work with
> > IE
> > setting
> > On Tue, 4 Oct 2022 11:01:14 +0000
> > PIKAL Petr <petr.pikal using precheza.cz> wrote:
> > > After we installed new R version R 4.2.1 installing packages through
> > > IE proxy setting is compromised with warning that R could not
> > > connect to server (tested in vanilla R).
> > R 4.1 deprecated the use of download.file(method = 'wininet'). R 4.2
> > the default download method to 'libcurl' and started giving warnings
> > for 'wininet' and http[s]:// URLs.
> > A workaround to get it working right now would be to set
> > options(download.file.method = 'wininet') and live with the resulting
> > while R downloads the files, but a next version of R may remove
> > support altogether.
> > In order to get it working with the 'libcurl' method, you'll need to
> provide some
> > environment variables to curl:
> > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat
> > .ethz.ch%2Fpipermail%2Fr-help%2F2022-
> > C%2FipTvXfBpI0c%3D&reserved=0
> > Not sure if libcurl would accept a patch to discover the Windows proxy
> > automatically, but I don't think it does that now.
> > --
> > Best regards,
> > Ivan
More information about the R-help