Copies an R object to the clipboard so it can be pasted in elsewhere.
clipit(x)
Nothing but will put the R object into the clipboard as a side effect
Returns nothing but will place the object in the clipboard
clipit(mtcars$mpg)
#> Error in error_interactive(): To run write_clip() in non-interactive mode, either call write_clip() with allow_non_interactive = TRUE, or set the environment variable CLIPR_ALLOW=TRUE