. | Full stop, period, dot | names, S3 method separation |
, | Comma | sepearating function arguments |
: | Colon | sequences, namespace resolution |
; | Semicolon | force end of instruction |
+ | Plus sign | addition |
- | Hyphen, minus, frequently just dash | subtraction |
_ | Underscore | object names |
= | Equals sign | argument definition, equation |
! | Exclamation mark | logical not operator |
? | Question mark | accessing help files |
* | Asterisk | multiplication, power |
/ | (Forward) slash | division, paths |
\ | Backslash | escape characters |
% | Percent sign | modulus, match operator |
& | Ampersand | logical AND operator |
$ | Dollar sign | list element access, S3 |
@ | At sign | access S4 slots |
# | Number sign, pound, hash | comments |
( ) | Open and close (round) parentheses (parens) | functions, operation precedence |
[ ] | Open and close (square) brackets | subsetting |
{ } | Open and close (curly) braces | block definition |
< > | Left and right (angled) chevrons | assignment, comparisons |
' | Single quotation mark, single quote | in text |
" | Double quotation mark, double quote | character values |
~ | Tilde | formula |
\ ` | Backtick, backquote | symbols |
| | Vertical bar, pipe | logical OR operator |