Learn R Programming

rdatamarket (version 0.6.5)

dmCurlOptions: Set extra RCurl options for full HTTP control.

Description

Use this to control the options with which RCurl connections are created, see RCurl::curlOptions. A common use is setting a proxy to work with your company's firewall setup, see example below.

Usage

dmCurlOptions(..., .opts = list())

Arguments

...
name-value pairs specifying curl options. See full list of options with `names(getCurlOptionsConstants())`, their types with `getCurlOptionTypes()`, and full documentation in the curl manpage.
.opts
a named list of options, or a previously created `CURLOptions` object. These are merged with the options specified in `...`.

Examples

Run this code
## Not run: dmCurlOptions(proxy='http://outproxy.mycompany.com')

Run the code above in your browser using DataLab