summaryrefslogtreecommitdiffstats
path: root/misc/syntax/r.syntax
blob: 81f9d3b9763e7864f48f38e8d63ae0d6b348614f (plain)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# R language syntax highlighting file for mcedit
# Based on Perl syntax + analysis of the 80 most frequent R commands
# Alexey Shipunov (dactylorhiza@gmail.com), version 20170122
#

context default

    keyword ->> brightred gray
    keyword <<- brightred gray
    keyword -> brightred gray

    keyword <- brightred

    keyword \\ gray white

    keyword : yellow
    keyword $ yellow
    keyword > yellow
    keyword < yellow
    keyword \+ yellow
    keyword - yellow
    keyword ^ yellow
    keyword \* yellow
    keyword | yellow
    keyword / yellow
    keyword != yellow
    keyword == yellow
    keyword ! yellow
    keyword ~ yellow
    keyword % yellow
    keyword & yellow

    keyword = red

    keyword { white
    keyword } white

    keyword ( brightcyan
    keyword ) brightcyan

    keyword [ brightblue
    keyword ] brightblue

    keyword ; black

    keyword whole else brightmagenta
    keyword whole for brightmagenta
    keyword whole if brightmagenta
    keyword whole while brightmagenta

    keyword whole abbreviate yellow
    keyword whole abline yellow
    keyword whole abs yellow
    keyword whole aggregate yellow
    keyword whole apply yellow
    keyword whole as.character yellow
    keyword whole as.data.frame yellow
    keyword whole as.factor yellow
    keyword whole as.matrix yellow
    keyword whole as.numeric yellow
    keyword whole as.vector yellow
    keyword whole attr yellow
    keyword whole boxplot yellow
    keyword whole c yellow
    keyword whole cat yellow
    keyword whole cbind yellow
    keyword whole chisq.test yellow
    keyword whole colnames yellow
    keyword whole colSums yellow
    keyword whole cor yellow
    keyword whole cor.test yellow
    keyword whole data.frame yellow
    keyword whole dev.off yellow
    keyword whole dimnames yellow
    keyword whole dist yellow
    keyword whole dotchart yellow
    keyword whole eqscplot yellow
    keyword whole factor yellow
    keyword whole function yellow
    keyword whole get yellow
    keyword whole grep yellow
    keyword whole gsub yellow
    keyword whole hclust yellow
    keyword whole hist yellow
    keyword whole ifelse yellow
    keyword whole is.factor yellow
    keyword whole is.na yellow
    keyword whole kruskal.test yellow
    keyword whole lda yellow
    keyword whole legend yellow
    keyword whole length yellow
    keyword whole levels yellow
    keyword whole library yellow
    keyword whole lines yellow
    keyword whole list yellow
    keyword whole lm yellow
    keyword whole loadings yellow
    keyword whole log yellow
    keyword whole manova yellow
    keyword whole matrix yellow
    keyword whole max yellow
    keyword whole mean yellow
    keyword whole median yellow
    keyword whole min yellow
    keyword whole mtext yellow
    keyword whole names yellow
    keyword whole na.omit yellow
    keyword whole ncol yellow
    keyword whole nrow yellow
    keyword whole order yellow
    keyword whole palette yellow
    keyword whole par yellow
    keyword whole paste yellow
    keyword whole pdf yellow
    keyword whole plot yellow
    keyword whole png yellow
    keyword whole points yellow
    keyword whole predict yellow
    keyword whole princomp yellow
    keyword whole print yellow
    keyword whole range yellow
    keyword whole rbind yellow
    keyword whole read.table yellow
    keyword whole recode yellow
    keyword whole rep yellow
    keyword whole replace yellow
    keyword whole return yellow
    keyword whole rev yellow
    keyword whole rnorm yellow
    keyword whole round yellow
    keyword whole row.names yellow
    keyword whole rowSums yellow
    keyword whole sapply yellow
    keyword whole scale yellow
    keyword whole seq yellow
    keyword whole sink yellow
    keyword whole smooth.spline yellow
    keyword whole sort yellow
    keyword whole source yellow
    keyword whole sqrt yellow
    keyword whole str yellow
    keyword whole sum yellow
    keyword whole summary yellow
    keyword whole t yellow
    keyword whole table yellow
    keyword whole tapply yellow
    keyword whole text yellow
    keyword whole t.test yellow
    keyword whole unique yellow
    keyword whole wilcox.test yellow
    keyword whole with yellow
    keyword whole write.table yellow
    keyword whole x11 yellow

context # \n brown
    spellcheck

context "http " white

context " " brightgreen

context 'http ' white

context ' ' brightgreen