insert_line | R Documentation |
These functions insert sequence of symbols (the line) which by default starts at the cursor position and ends at symbol (column) 79. (It is recommended that the line of code would not be longer than 80 symbols.)
Use
rs_insert_line_ss()
to insert ------
;
rs_insert_line_ds()
to insert ======
;
rs_insert_line_sw()
to insert ~~~~~~
at the cursor position.
rs_insert_line(
symbol,
start = rs_get_index_first_selected_col(),
end = getOption("addins.rs.line_end", 79)
)
rs_insert_line_ss()
rs_insert_line_ds()
rs_insert_line_sw()
symbol |
(character) |
start |
(numeric) |
end |
(numeric) |
Other 'Insert at cursor position' addins:
insert_arrows
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.