Tsallaka zuwa abun ciki
Justice Tech School

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

Which symbol is the usual assignment?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.