View source: R/source_clipboard.R
source_clipboard | R Documentation |
This function reads R code from the clipboard, and then source it. Clipboard is managed correctly depending on the OS (Windows, MacOS, or *nix)
source_clipboard(primary = TRUE, ...)
sourceClipboard(primary = TRUE, ...)
primary |
Only valid on *nix: read the primary (or secondary) clipboard. |
... |
Further parameters passed to |
Same result as source()
.
source()
, file()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.