В Thu, 11 May 2023 13:49:43 +0000 Sebastián Kruk Gencarelli <zloto_k...@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 ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.