[R] win110 + R 4.3.0 dowload only when method = "wininet"

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Thu May 11 16:29:10 CEST 2023


В Thu, 11 May 2023 13:49:43 +0000
Sebastián Kruk Gencarelli <zloto_kruk using hotmail.com> пишет:

> I tried Sys.env(…) but it is forgoted in the next session.

If Sys.setenv() works for you, you can put the line
http_proxy=http://192.2.0.1:8080/ (or an appropriate equivalent) into
an environment file that R reads when it starts up. Specifically, this
environment file could be named ".Renviron" and placed into your
Documents directory, but there are other options too:
https://cran.r-project.org/bin/windows/base/rw-FAQ.html#What-are-HOME-and-working-directories_003f
(see questions 2.13 and 2.14 for what R considers "the home directory"
and how environment variables can be set).

It could be worth raising a feature request for automatic proxy
detection on Windows when libcurl download method is used, though I
don't know whether it would be practical to implement it.

-- 
Best regards,
Ivan



More information about the R-help mailing list