action-helpers | R Documentation |
These helpers are meant to be used on the right hand side of the trick specification, which is evaluated when the trick is selected.
call_addin(package, name)
replace_selection(txt)
replace_current_lines(txt)
insert_at_position(txt, row = Inf, col = Inf)
send_cursor_at_position(row = 1, col = 1)
package , name |
package and addin name |
txt |
A character object, or will be coerced to character using |
row , col |
row and column in he editor |
replace_selection
replaces the selection in the editor with its argument
call_addin
calls a standard RStudio addin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.