Package 'r.proxy'

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

Help Index


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)