File: clone.Rd

package info (click to toggle)
r-cran-rcurl 1.95-4.8-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,140 kB
  • ctags: 515
  • sloc: ansic: 3,135; xml: 1,734; asm: 993; sh: 12; makefile: 2
file content (35 lines) | stat: -rw-r--r-- 752 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
\name{clone}
\alias{clone}
\alias{clone,ANY-method}
\alias{clone,CURLHandle-method}
\alias{clone,environment-method}
\alias{clone,CFILE-method}
\title{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, ...)
}
\arguments{
  \item{x}{the object to be cloned.}
  \item{\dots}{additional parameters for methods}
}
\value{
  Typically, an object of the same class and \dQuote{value}
  as the input - \code{x}.
}
\author{
Duncan Temple Lang
}

\seealso{
 \code{\link{dupCurlHandle}}
}
\examples{
 h = getCurlHandle(verbose = TRUE)
 other = dupCurlHandle(h)
 curlSetOpt(curl = h, verbose = FALSE)
}
\keyword{programming}