selectobject: Select object

View source: R/selectobject.R

selectobjectR Documentation

Select object

Description

Rstudio addin to create object from highlighted object name or code. Also works in browser mode, albeit not in the code_browser window.

Usage

selectobject(eval = TRUE)

Arguments

eval

Should text be evaluated? If FALSE, the output is a charstring of the marked text. DEFAULT: TRUE

Value

List with the (evaluated) object and the code generating it as a character string

Author(s)

Berry Boessenkool, berry-b@gmx.de, May 2017

References

Heavily borrowed from digital-dharma/RStudioAddIns (no longer online)

See Also

addins, funSource

Examples

# see str_addin


brry/rskey documentation built on Jan. 10, 2023, 3:24 p.m.