Support

Outbound Proxy with RStudio Package Manager

Follow

If you are syncing RStudio Package Manager to create your own CRAN repository (see The CRAN Source), the server will need access to the internet to download manifest and package data. If you need to use an outbound proxy server, RStudio Package Manager uses the HTTP_PROXY and HTTPS_PROXY environment variables to configure HTTP or HTTPS proxy behavior.

If you need to use an outbound proxy server, RStudio Package Manager uses the Proxy.URL configuration option to set the HTTP and HTTPS proxy behavior. For example:

; /etc/rstudio-pm/rstudio-pm.gcfg
[Proxy]
URL = 127.0.0.1:80

To add basic authorization credentials and/or use an HTTPS proxy, provide a complete URL:

; /etc/rstudio-pm/rstudio-pm.gcfg
[Proxy]
URL = https://user:pass@example.com

RStudio Package Manager does require that the proxy is enabled to perform SSL forwarding.

For more details, see the Outbound Proxy section in the Admin Guide.

Comments