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
toClipboard(x)
Arguments
x
character vector that should be pasted to clipboard.