clipsource {svMisc}R 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, Mac OS X, or *nix)

Usage

    clipsource(primary = TRUE, ...)

Arguments

primary only valid on *nix: read the primary (or secondary) clipboard
... further parameters passed to source()

Value

Same result as source().

Author(s)

Philippe Grosjean <phgrosjean@sciviews.org>

See Also

source, file


[Package svMisc version 0.9-46 Index]