clipit: Copy an object as R-code to the clipboard

clipitR Documentation

Copy an object as R-code to the clipboard

Description

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

Usage

clipit(x)

Arguments

x

object to copy

Details

Returns nothing but will place the object in the clipboard

Value

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

Author(s)

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

Examples


## Not run: 
clipit(mtcars$mpg)

## End(Not run)


MESS documentation built on Aug. 21, 2023, 1:05 a.m.

Related to clipit in MESS...