R traditionally uses the assignment operator `<-`, however since 2001 the operator `=` has also become available. The choice of which to use is up to you, however R traditionalists will use `<-`, despite it requiring two keystrokes, and published R code may be more readable to R programmers if the arrow assignment operator is used.
For more on the backstory of the R assignment operators, see [here](https://blog.revolutionanalytics.com/2008/12/use-equals-or-arrow-for-assignment.html).