Is there a new, native pipe equivalent of %<>%?

library(magrittr)
df = data.frame(a = 1, s = 2, d = 3)

df = df %>% mutate(f = 4)
df = df |> mutate(f = 4)

df %<>% mutate(f = 4)
df <|> mutate(f = 4) # :( ?

No, there isn't a native two-way pipe

1 Like

This topic was automatically closed 21 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.