Learn R Programming

spAddins (version 0.2.0)

insert_arrows: Insert arrow (->, ->>, <-, <<-)

Description

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

Usage

rs_insert_arrow_rl()

rs_insert_arrow_rl2()

rs_insert_arrow_lr()

rs_insert_arrow_lr2()

Arguments

See Also

Assignment operators assignOps.

Other 'Insert at cursor position' addins: insert_symbol_sequences

Examples

Run this code
# NOT RUN {
\donttest{
library(spAddins)

rs_insert_arrow_rl()
## <-

rs_insert_arrow_rl2()
## <<-

rs_insert_arrow_lr()
## ->

rs_insert_arrow_lr2()
## ->>
}
# }

Run the code above in your browser using DataLab