Why is R Core creating a new pipe operator |> ?

I just saw on linkedin that there is a new version of the Magrittr package (link). Magrittr is the package that contains the pipe operator %>% that is used by dplyr.

What surprised me is that that blog post mentions that the "next version" of base R will include its own pipe operator. But instead of %>% it will be |>

I am wondering if anyone can say why the R Core team will be creating their own version of the pipe operator, as opposed to simply incorporating Magrittr's pipe as-is.

1 Like

Luke Tierney (R Core member) discussed this here. I think it should help to answer your question.


Thank you so much for that. It perfectly answers my question!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.