R/copy.R

Defines functions duplicate

Documented in duplicate

##' Force a Copy of an R Object
##' 
##' In \R, objects are copied 'lazily'. We use this function to force a copy.
##' 
##' @param x An \R object.
##' @export
duplicate <- function(x) {
  return( .Call(Ccopy, x) )
}

Try the Kmisc package in your browser

Any scripts or data that you put into this service are public.

Kmisc documentation built on May 29, 2017, 1:43 p.m.