Syntax
To output text in R, use single or double quotes:
Example
python
"Hello World!"
To output numbers, just type the number (without quotes):
Example
python
5
10
25
To do simple calculations, add numbers together:
Example
python
5 + 5
Congratulations! You have now written your first R code.