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

Description Usage Note See Also Examples

Description

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

Usage

1
2
3
4
5
6
7

Note

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

See Also

Assignment operators assignOps.

Other 'Insert at cursor position' addins: insert_symbol_sequences

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 
\donttest{
library(spAddins)

rs_insert_arrow_rl()
## <-

rs_insert_arrow_rl2()
## <<-

rs_insert_arrow_lr()
## ->

rs_insert_arrow_lr2()
## ->>
}

## End(Not run)

spAddins documentation built on Dec. 15, 2017, 1:03 a.m.