Learn R Programming

k5 (version 0.0.5)

copy_last: Copy the last object to the clipboard

Description

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

Usage

copy_last(x = .Last.value)

Value

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

Arguments

x

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

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).