Type: | Package |
Title: | Set Proxy in R Console |
Version: | 0.1.3 |
Maintainer: | Yonghe Xia <xiayh17@gmail.com> |
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. |
License: | MIT + file LICENSE |
URL: | https://github.com/xiayh17/r.proxy |
BugReports: | https://github.com/xiayh17/r.proxy/issues |
Imports: | curl, httr, jsonlite |
Encoding: | UTF-8 |
RoxygenNote: | 7.2.3 |
NeedsCompilation: | no |
Packaged: | 2023-08-15 12:59:31 UTC; xiayh |
Author: | Yonghe Xia [aut, ctb, cre] |
Repository: | CRAN |
Date/Publication: | 2023-08-15 13:30:02 UTC |
Check IP
Description
check what your IP is
Usage
check_ip()
Details
Use curl_fetch_memory
to get information about the web page
https://api-ipv4.ip.sb/ip & https://api.ip.sb/geoip
Value
IP information
Examples
## Not run:
check_ip()
## End(Not run)
Initialization proxy settings
Description
When user use it in the first time or reset proxy, this will run and store setting in home directory.
Usage
init_proxy()
Value
a file in home directory
Examples
## Not run:
init_proxy()
## End(Not run)
Reset proxy
Description
unset proxy http https and socks5
Usage
noproxy()
Value
unset proxy http https and socks5
Examples
## Not run:
noproxy()
## End(Not run)
Set proxy
Description
set proxy for http https and socks5
Usage
proxy()
Value
set proxy for http https and socks5
Examples
## Not run:
proxy()
## End(Not run)