RStudio add-in to insert HTML elements

RStudio add-in to insert either ->, ->>, <- or <<- at the cursor position.

html_insert_space()

rs_insert_arrow_rl()

rs_insert_arrow_rl2()

rs_insert_arrow_lr()

rs_insert_arrow_lr2()

Note

use hotkeys combination ALT + - to insert <- in RStudio.

See also

Assignment operators assignOps.

Other 'Insert at cursor position' addins: insert_symbol_sequences

Other 'Insert at cursor position' addins: insert_symbol_sequences

Examples

# NOT RUN {
\donttest{
library(spAddins)

rs_insert_arrow_rl()
## <-

rs_insert_arrow_rl2()
## <<-

rs_insert_arrow_lr()
## ->

rs_insert_arrow_lr2()
## ->>
}
# }