Learn R Programming

RCurl (version 1.98-1.16)

clone: Clone/duplicate an object

Description

This is a generic function and methods for making a copy of an object such as a curl handle, C-level pointer to a file, etc.

Usage

clone(x, ...)

Value

Typically, an object of the same class and “value”

as the input - x.

Arguments

x

the object to be cloned.

...

additional parameters for methods

Author

Duncan Temple Lang

See Also

dupCurlHandle

Examples

Run this code
 h = getCurlHandle(verbose = TRUE)
 other = dupCurlHandle(h)
 curlSetOpt(curl = h, verbose = FALSE)

Run the code above in your browser using DataLab