Plumbers, chains, and famous painters: The history of the pipe operator in R 2 days ago (adolfoalvarez.cl) 3 comments sinnsro Reply Add to library wwfn 2 hours ago I only recently discovered \(x) like function wrapping is not required! Where magrittr::%>% uses ., base R's |> can use _, but only for named arguments penguins |> rpart::rpart(species ~ ., method = "class", data = _) |> rpart.plot::prp(extra = 4) EDIT: maybe that wasn't the case in 2021 when the blog post was written fithisux 2 hours ago Refreshing to see such articles.
wwfn 2 hours ago I only recently discovered \(x) like function wrapping is not required! Where magrittr::%>% uses ., base R's |> can use _, but only for named arguments penguins |> rpart::rpart(species ~ ., method = "class", data = _) |> rpart.plot::prp(extra = 4) EDIT: maybe that wasn't the case in 2021 when the blog post was written
I only recently discovered \(x) like function wrapping is not required! Where magrittr::%>% uses ., base R's |> can use _, but only for named arguments
EDIT: maybe that wasn't the case in 2021 when the blog post was written
Refreshing to see such articles.