copy_last: Copy the last object to the clipboard

View source: R/last.R

copy_lastR Documentation

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)

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

Value

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


k5 documentation built on May 29, 2024, 7:48 a.m.

Related to copy_last in k5...