R Syntax
Statements need no semicolons. Comments start with #. Assignment uses <- (or =). Names are case sensitive and can contain dots, so my.var is valid.
Example
# a comment
x <- 5
my.var <- 10
print(x + my.var)Exercise
Assignment arrow.
x 5
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.