Copies an R object to the clipboard so it can be pasted in elsewhere.

clipit(x)

Arguments

x

object to copy

Value

Nothing but will put the R object into the clipboard as a side effect

Details

Returns nothing but will place the object in the clipboard

Author

Jonas LindeLøv posted on twitter. Copied shamelessly by Claus Ekstrom claus@rprimer.dk

Examples


if (FALSE) { # \dontrun{
clipit(mtcars$mpg)
} # }