clippaste {svIO}R Documentation

Paste the content of the clipboard into an variable

Description

Create a new object by pasting the content of the clipboard in it. Contents generated with copy are recognized.

Usage

clippaste(name = "newobj", type = "ascii", objclass = "data.frame", pos = 1, ...)

Arguments

name The name of the variable to create
type Specify the type of content (the format of the object currently in the clipboard)
objclass The class of the object to create
pos Where to place the new object (by default, in the global workspace)
... Further arguments passed to the specific paste method

Value

The result returned by the specific paste method.

Author(s)

Eric Lecoutre

See Also

copy

Examples

    ## Not run: 
        # A trivial example... but that becomes more interesting if the copy
        # and paste operations are made in different R instances
        data(iris)
        copy(iris, type = "ascii")
        clippaste(iris2)
    
## End(Not run)

[Package svIO version 0.8-2 Index]