Use clipr::write_clip() to write the last value as a character vector to the system clipboard.

copy_last(x = .Last.value)

Arguments

x

The object to view, usually left as base::.Last.value.

Value

The same .Last.value as before copied, invisibly.

Details

The value of the internal evaluation of a top-level R expression is always assigned to .Last.value before further processing (e.g., printing).