Description Usage Arguments Value Proxy Environment Variable Examples
this will help to set up the proxy configuration using environment variable
url of the proxy with port
authentification if necessary (username and password)
any domain that proxy should ignore
activate or not https proxy
You can set a proxy url across sessions by setting option "proxyconfig.proxy"
.
1 2 |
proxy |
a character giving the proxy url. By default, it will fetch for
option |
username |
character. If |
password |
character. If |
noproxy |
character vector of domain that proxy should ignore |
https |
logical. If |
TRUE
invisibly if no error. Side effects are the environment
variables for proxy being set for the session. You can check them with
base::Sys.getenv()
FALSE
invisibly with a warning if a proxy configuration was already set. You need
to unset the configuration with unset_proxy()
before setting a new one.
The proxy is set using environment variables
HTTP_PROXY
HTTPS_PROXY
NO_PROXY
The lower case version are also set because some utilities do not understand
upper case environment variable.
This configuration is used by curl
for internet connection and other
method. See Setting Proxies in utils::download.file()
1 2 3 4 5 6 7 8 9 | ## Not run:
set_proxy(proxy = "http://10.132.23.444:3232",
username = "",
password = "",
noproxy = ".mycompany.com",
https = TRUE)
is_proxy_activated(verbose = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.