source_clipboard: Source code from the clipboard

View source: R/source_clipboard.R

source_clipboardR Documentation

Source code from the clipboard

Description

This function reads R code from the clipboard, and then source it. Clipboard is managed correctly depending on the OS (Windows, MacOS, or *nix)

Usage

source_clipboard(primary = TRUE, ...)

sourceClipboard(primary = TRUE, ...)

Arguments

primary

Only valid on *nix: read the primary (or secondary) clipboard.

...

Further parameters passed to source().

Value

Same result as source().

See Also

source(), file()


SciViews/svMisc documentation built on Nov. 16, 2024, 2:32 a.m.