Skip to content
Prev 396592 / 398502 Next

Using the pipe, |>, syntax with "names<-"

If you object to names(x)[2]<- ... then use replace:

  z |> list(x = _) |> within(replace(names(x), 2, "foo")) |> _$x
On Sun, Jul 21, 2024 at 11:10?AM Bert Gunter <bgunter.4567 at gmail.com> wrote: