I have been using the ctrl + shift + m
shortcut to insert well known %>%
pipe operator.
Since the release of R version 4.1.0 and adding a new |>
to base
, I wonder is the corresponding shortcut available in Rstudio?
It's the same shortcut. If you install the latest version of the IDE, and go to the Global Options window, select "Code" and you'll see an option for "use native pipe operator, |>". Select that for the shortcut to take effect.