自定义片段不适用于 Rstudio

Customizing snippets not working on Rstudio

为了减少输入管道 %>% 的工作量,我在 Rstudio 中设置了一个片段:

snippet pipe
         %>%

但它不起作用。不知道是不是忘记了什么?

因为您是 Mac 用户,您也可以使用 Shift+Command+M。我自己用MacOS,觉得很方便