-
Notifications
You must be signed in to change notification settings - Fork 0
/
r.talon
68 lines (56 loc) · 996 Bytes
/
r.talon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
app.name: Visual Studio Code
os: windows
app.exe: Code.exe
app.name: RStudio
app.exe: rstudio.exe
-
piper:
key(space)
"%>%"
key(space)
# from the magittr package.
tea piper:
key(space)
"%T>%"
key(space)
# from the magittr package.
dollar piper:
key(space)
"%$%"
key(space)
# from the magittr package.
replace piper:
key(space)
"%<>%"
key(space)
matrix multiply:
key(space)
insert("%*%")
key(space)
# outer product of two vectors
outer multiply:
key(space)
insert("%o%")
key(space)
# comment partition line
partition:
key(#)
key(-:79)
key(enter)
tidy verse: insert("tidyverse")
state if else:
insert("ifelse()")
key(left)
state NA:
insert("NA")
# tidyverse link commands
add that:
key(end space)
"+"
key(enter)
# R specific commands
stick:
key(end space)
"%>%"
key(enter)
argue {user.code_parameter_name}: user.code_insert_named_argument(code_parameter_name)