Skip to content
Prev 8377 / 63424 Next

behavior of =

>> The "<-" assignment operator is beautiful.  It's taken me over a
    >> decade, but I have come to appreciate it.  It isn't common, and there
    >> are fewer and fewer ex-APL'ers, but I think it's a great choice.

    barry>   Surely there's a single-character on this keyboard that accurately
    barry>   invokes the directional nature of assignment to variables, without
    barry>   having ambiguous meanings or alternate syntactic options? Yes! 
    barry>   There, on the top right, an arrow pointing to the left!

on my computers (all of them), when editing R code, "_" always maps to
"<-".  So yes, there is such a character on the keyboard, for R code.

best,
-tony