selectobject | R Documentation |
Rstudio addin to create object from highlighted object name or code. Also works in browser mode, albeit not in the code_browser window.
selectobject(eval = TRUE)
eval |
Should text be evaluated? If FALSE, the output is a charstring of the marked text. DEFAULT: TRUE |
List with the (evaluated) object and the code generating it as a character string
Berry Boessenkool, berry-b@gmx.de, May 2017
Heavily borrowed from digital-dharma/RStudioAddIns (no longer online)
addins, funSource
# see str_addin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.