clipit function

Copy an object as R-code to the clipboard

Copy an object as R-code to the clipboard

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

clipit(x)

Arguments

  • x: object to copy

Returns

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

Examples

## Not run: clipit(mtcars$mpg) ## End(Not run)

Author(s)

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

  • Maintainer: Claus Thorn Ekstrøm
  • License: GPL-2
  • Last published: 2023-08-20