On 22/05/2021 8:26 p.m., Jeff Newmiller 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.
It's the same precedence as the %any% operators listed in the ?Syntax
table, so it mat
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 Gibbo
This is part of the R-4.1.0 release which came out a few days ago.
See
1. https://stat.ethz.ch/pipermail/r-announce/2021/000670.html
2.
https://www.jumpingrivers.com/blog/new-features-r410-pipe-anonymous-functions/
3.
https://community.rstudio.com/t/psa-r-4-1-0-release-requires-rstudio-preview/1052
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 wrote:
>
> What is the precedence of the new |> pipe
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 U
5 matches
Mail list logo