toClipboard: Pastes text to clipboard

Description Usage Arguments Examples

View source: R/io.R

Description

Text is written to clipboard, allowing easy pasting to other software. This function supports only pasting of character vectors because writeLines is used. Supported operating systems are BSD/Linux (the xclip command has to be installed), Mac OS (pbcopy has to be installed) and Microsoft Windows.

Usage

1

Arguments

x

character vector that should be pasted to clipboard.

Examples

1
toClipboard("This is a little test.")

pubprint documentation built on May 29, 2017, 2:55 p.m.