Comments

It’s also important to annotate your code. It will help you write notes and explain what you are doing. To annotate your code, you will use the number sign #:

# addition
10 + 2
[1] 12
# the answer is 12