Message-ID: <59B09B36-DEFB-4BCF-AC38-E84E0AAAB703@dcn.davis.ca.us>
Date: 2022-03-09T17:21:26Z
From: Jeff Newmiller
Subject: placeholder for native pipes
In-Reply-To: <49781471-6094-2712-576d-0fc802fbe1cb@rgzm.de>
Not currently, but you can emulate it with the anonymous function shorthand:
(\(.) expression_using_dot ))()
e.g. https://i.reddit.com/r/rstats/comments/nkiavh/is_base_r_pipe_faster_than_dplyr/
On March 9, 2022 4:57:36 AM PST, Ivan Calandra <ivan.calandra at rgzm.de> wrote:
>Dear useRs,
>
>When the implementation of the native pipe was announced (e.g.
>https://www.r-bloggers.com/2021/05/the-new-r-pipe/), there was no
>placeholder similar to the dot in magrittr.
>
>Has it changed? Is there now a placeholder? There is no mention of it in
>the help page for "|>" so I guess not, but maybe someone on the list
>knows more about future developments?
>
>Thank you!
>Ivan
>
--
Sent from my phone. Please excuse my brevity.