RStudio
Insert the pipe operator
Press Ctrl + Shift + M to insert the pipe operator in RStudio. On a Mac, press Cmd + Shift + M instead.
Where it works: Console or source
Every documented variant
| System | Environment | Keys |
|---|---|---|
| Mac | Desktop app | CmdShiftM |
| Windows | Desktop app | CtrlShiftM |
Where this comes from
Keyboard Shortcuts in the RStudio IDE - Posit Support
Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.