dmCurlOptions: Set extra RCurl options for full HTTP control.

Description Usage Arguments Examples

View source: R/rdatamarket.r

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

1
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

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

Example output

Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

rdatamarket documentation built on May 29, 2017, 11 p.m.