## Environment

```
help
# Get all variables
ls()
# Checking the type of variable
typeof(x)
# Get working directory
getwd()
```

## Mathematical operators

```
# Arithmetic operations
> 2+3
[1] 5
# Power - 2 to the power 3
> 2^3
[1] 8
# Modulo and divisor
> 10%%3
[1] 1
> 10%/%3
[1] 3
```

## Mathematical functions

```
# Mathematical pi
pi
# Converting float to integer
floor
ceiling
trunc
round
# Mathematical functions
abs
sqrt
# Logarithmic functions
exp
log
log10
```