The basic symbol for
assignment is "<-" or "="
Examples:
X <- 2
x = 2
2 -> x
My personal preference is x<-2 since
this seems clearer to me. In lists, we use “=” to assign names to elements in
the list.
More advanced forms of the assignment function are with the function assign(...) and with "<<-"