Why does R have two assign operators ``
Clash Royale CLAN TAG #URR8PPP Why does R have two assign operators `<-` & `->` I know how to use <- & -> , and there are good writeups on the difference between equals assignment & arrow assignment, but I don't know when to prefer -> over <- . <- -> equals -> <- It seems the community has coalesced around using <- for assignment. <- Neither the google R style-guide, nor Hadley Wickam's tidyverse R style-guide even even mention -> in the assignment section. -> I'm curious about the design considerations that led the s/s-plus developers to put in the right arrow assign operator -> . In what setting(s) would using -> be considered more readable (or easier to type) versus <- or = . -> -> <- = I'm not familiar with any other language that allows the right-assignment semantics. What languages inspired R in this regard? Possibly related: softwareengineering.stackexchang...