Is right-to-left operator associativity in R possible?
问题 I'm new to R, and I just discovered I suffer from Bracket Phobia (see comment in the link). I like the way magrittr notation %>% works, because it avoids nested parenthesis in some situations, and makes code more readable. I came from Mathematica , where there is a very similar native // notation to do what %>% does. Here are some R and Mathematica comparisons: #R Notation c(1.5,-2.3,3.4) %>% round %>% abs %>% sum #Mathematica Notation {1.5,-2.3,3.4}//Round//Abs//Total So far so good, but, my