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