Title: | Set Proxy in R Console |
---|---|
Description: | The use of proxies is required in certain network environments. Despite the power of system level software, it is still inconvenient to switch proxy networks at random in R's console. This package is designed to provide one-click switching between proxy and non-proxy states. |
Authors: | Yonghe Xia [aut, ctb, cre] |
Maintainer: | Yonghe Xia <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.1.3 |
Built: | 2024-08-27 03:20:45 UTC |
Source: | https://github.com/xiayh17/r.proxy |
check what your IP is
check_ip()
check_ip()
Use curl_fetch_memory
to get information about the web page
https://api-ipv4.ip.sb/ip & https://api.ip.sb/geoip
IP information
## Not run: check_ip() ## End(Not run)
## Not run: check_ip() ## End(Not run)
When user use it in the first time or reset proxy, this will run and store setting in home directory.
init_proxy()
init_proxy()
a file in home directory
## Not run: init_proxy() ## End(Not run)
## Not run: init_proxy() ## End(Not run)
unset proxy http https and socks5
noproxy()
noproxy()
unset proxy http https and socks5
## Not run: noproxy() ## End(Not run)
## Not run: noproxy() ## End(Not run)
set proxy for http https and socks5
proxy()
proxy()
set proxy for http https and socks5
## Not run: proxy() ## End(Not run)
## Not run: proxy() ## End(Not run)