Learn R Programming

SciViews (version 0.8-8)

copy: Convert an R object and copy it to the clipboard

Description

This is a wrapper around export, using file = "clipboard"

Usage

copy(x, type = "raw", objname = deparse(substitute(x)), ...)

Arguments

x
The object to copy
type
type gives the format in which the object should be converted. The list of recognized formats for this object is obtained with type = "typelist"
objname
The name of the copie object (by default, it is the name of the variable that holds it)
...
Further arguments to use with the corresponding export method

Value

  • The result returned by the corresponding export method

See Also

export, clippaste

Examples

Run this code
data(iris)
        copy(iris, type = "ascii")

Run the code above in your browser using DataLab