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

Share:

Description

Call these functions as addins to insert either ->,->>, or <<- at the cursor position.

Usage

1
2
3
4
5

Note

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

See Also

Assignment operators assignOps.
About shortcut keys: keyboard shortcuts.

Other 'Insert at cursor position' addins: insertCompAssignPipe_Addin, insertExPipe_Addin, insertIfNULL_Addin, insertIn_Addin, insertMatMuliplication_Addin, insertNotIn_Addin, insertPaste0_Addin, insertPaste_Addin, insertPipeline_Addin, insertTeeOperator_Addin, insert_ds_line_Addin, insert_if_null_Addin, insert_if_null_or_len0_Addin, insert_ss_line_Addin, insert_sw_line_Addin

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
# To call the functions with keyboard shortcuts explore
# link "keyboard shortcuts" in section "See also".


## Not run: 
library(spAddins)

insertArrowLR2_Addin()
## <<-

insertArrowRL_Addin()
## ->

insertArrowRL2_Addin()
## ->>

## End(Not run)