Description Usage Arguments Details Value
Utility functions to read and write to the system clipboard with checks.
These functions are used in the source code for add-ins in the RADins
package.
1 2 3 |
text |
A character vector, each element of which is a line of text to be written to the clipboard. |
These functions are essentially the clipr
functions, read_clip
and write_clip
respectively with some additional checks
These checks include:
If the clipr
package is incompatible with the system, it will provide an informative dialogue box.
If the R session is not interactive, these functions will not execute the clipr functions as they are not meant to be used in non-interactive sessions.
The value of set_clipboard()
is a character vector, each element of which is a line of text in the system clipboard.
The value of set_clipboard()
is always NULL
as it is used for its “side-effect” if writing to the clipboard and not for its value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.