Description Usage Arguments Examples
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.
1 | toClipboard(x)
|
x |
character vector that should be pasted to clipboard. |
1 | toClipboard("This is a little test.")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.