Substitute the magrittr Pipe %>%
with R’s Native Pipe Operator |>
| /en/2022/04/magrittr-native-pipe/
#1618
Replies: 1 comment 1 reply
-
Nice tool, Yihui! I noticed a few more cases in which it doesn't work:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
R 4.1.0 has added a native pipe operator |> to base R. If you are using the magrittr pipe %>% and want to switch to |> in your R scripts (you do not have to), I have a quick function …
https://yihui.org/en/2022/04/magrittr-native-pipe/
Beta Was this translation helpful? Give feedback.
All reactions