handpick {saros}R Documentation

Return character vector of manually picked data columns.

Description

Only works in an interactive session. Copies to the clipboard if to_clipboard = TRUE, and if clipboard is available on system.

Usage

handpick(data, to_clipboard = FALSE, bare = FALSE)

Arguments

data

A dataset; data frame.

to_clipboard

Boolean. Defaults to FALSE. If TRUE, overwrites what you already have copied. Use with caution.

bare

Flag, defaults to FALSE. If TRUE, returns a tidyselect-style bare list of columns, without quotation marks.

Value

Character vector. Prints to console.

Examples

if(interactive()) handpick(mtcars)

[Package saros version 1.0.4 Index]