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