Coding basics

R as a calculator

100 / 6
## [1] 16.66667
x <- 100 / 6
# x

assignment symbol

What’s in a name?

Calling functions

seq(from = 1, to = 10, by = 1)
##  [1]  1  2  3  4  5  6  7  8  9 10

Use of TAB

continuation character, +

Printing to screen