R 4.1.0 was released this week with a new pipe operator and a new anonymous function shorthand (\(x) x^2).
The pipe operator is not quite as flexible as the magrittr pipe, but it is faster (not that the magrittr pipe is noticably slow) and built-in. On May 22, 2021 8:07:27 PM PDT, Caitlin Gibbons <bioprogram...@gmail.com> wrote: >I didn’t know R had a new pipe operator, but I have seen “|>” (without >quotes) used in the Elixir language though. Are there now two? “%>%” >from the magrittr package and “|>” which is built-in? > >> On May 22, 2021, at 5:26 PM, Jeff Newmiller ><jdnew...@dcn.davis.ca.us> wrote: >> >> What is the precedence of the new |> pipe operator? I don't see it >mentioned in ?Syntax, nor does it come up when I search the R Language >Definition document. >> -- >> Sent from my phone. Please excuse my brevity. >> >> ______________________________________________ >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. -- Sent from my phone. Please excuse my brevity. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.