TIL: Apparently #R lets you use either `<-` or `=` for assignment.
Most other programming languages I've used use `=`, which is often confusing to students. They sometimes think `a = b` means that `a` will *always* equal `b`.
@peterdrake
Would prefer <- but everybody wants to be like C.
@jmw150 @peterdrake best practice is to use `<-`. The equal `=` is saved for assigning values for parameters in functions.
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.
@jmw150 @peterdrake best practice is to use `<-`. The equal `=` is saved for assigning values for parameters in functions.