server-clipboard: Send Value to Source Editor

Description Usage Value Examples

Description

Send the value of the currently selected expression to the source editor. This is particularly valuable in RStudio Server, where the clipboard is not available programatically.

Paste the value of the clipboard variable to the active context. This is particularly valuable in RStudio Server, where the clipboard is not available programatically.

Usage

1
2
3

Value

The value of the currently selected expression, invisibly.

The value read from the clipboard variable, invisibly.

Examples

1
2
3
# Select an expression that can be evaluated to a value, & run this add-in

# After running `save_value_to_clipboard_variable` on a valid expression, run this add-in

KO112/KO documentation built on Oct. 2, 2020, 9:21 a.m.