Use a proxy to connect to the internet.

use_proxy(url, port = NULL, username = NULL, password = NULL, auth = "basic")


url, port

location of proxy

username, password

login details for proxy, if needed


type of HTTP authentication to use. Should be one of the following: basic, digest, digest_ie, gssnegotiate, ntlm, any.

See also


# See for a list of public proxies # to test with # GET("", use_proxy("", 8080), verbose())