Coding basics

R as a calculator

1000 / 10
## [1] 100
x<- 1000 / 10
# x

assignment symbol

What’s in a name?

Calling functions

Use of TAB

continuation character, +

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

Printing to screen

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