httr (version 0.1.1)

use_proxy: Use a proxy to connect to the internet.

Description

Use a proxy to connect to the internet.

Usage

use_proxy(url, port = NULL, username = NULL,
    password = NULL)

Arguments

url,port
location of proxy
username,password
login details for proxy, if needed

See Also

Other config: accept_json, accept_xml, add_headers, authenticate, config, set_cookies, timeout, user_agent, verbose

Examples

Run this code
# See http://www.hidemyass.com/proxy-list for a list of public proxies
# to test with
# GET("http://had.co.nz", c(use_proxy("64.251.21.73", 8080), verbose()))

Run the code above in your browser using DataLab