1. Arithmetics - JulTob/R Wiki

> 2+2
[1] 4

> 2*3
[1] 6

> 5-7
[1] -2

> 9/3
[1] 3

> 3²
Error: unexpected input in "3²"
> 3^2
[1] 9

> sqrt(4)
[1] 2


> exp(1)
[1] 2.718282

> 1 == 1
[1] TRUE

> 1 != 1
[1] FALSE