addin.tools | Helper functions to create RStudio add-ins. |
ensure_blank_line | Add blank lines if needed. |
heplers | ' Check if a blank line is needed below. |
is_blank_line_needed_above | Check if a blank line is needed above. |
is_rmd_visual_mode | Check if Visual Markdown Editor (VME) is used |
make_spaces | Generate spaces of certain length |
repeat_symbol | Repeat sequence of symbols. |
rs_document_context | Data: RStudio decment context data. |
rs_enclose_selection_with | Enclose selection of text with indicated symbols. |
rs_enclose_with_lines | Enclose setected rows with text. |
rs_get_context | Retrieve information about an active RStudio document. |
rs_get_index | Get indices related to the selection(s). |
rs_get_n_selections | Get number of selections. |
rs_get_position | Get position(s) related to the selection(s). |
rs_get_row_lengths | Get lengths of selected rows. |
rs_get_row_range | Get row range of the indicated line |
rs_get_selection_length | Get length of selection. |
rs_get_selection_range | Get range of selection. |
rs_get_selection_text | Get selection text. |
rs_get_text | Get text in indicated lines. |
rs_insert_at_row_start | Insert text at the beginning of the row(s). |
rs_insert_before_first_selected_row | Insert text at the beginning of the first selected row. |
rs_insert_symbol_seq | Insert a sequence of symbols. |
rs_insert_text | Insert text at the cursor position. |
rs_replace_in_selection | Replace text in selection. |
rs_select_rows | Select rows |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.