Fundamentals1 / 12
Up next

Assignment with <-

# <- is the idiomatic assignment operator in R
x <- 42
# = also works but <- is preferred
y = 8
print(x + y)
What you're solving

<- is the idiomatic assignment operator