Skip to the main content

RStudio

Rename a symbol in scope

CmdOptionShiftM

Mac Desktop app RStudio IDE

Practice this

To rename a symbol in scope in RStudio, press Ctrl + Alt + Shift + M. On a Mac, press Cmd + Option + Shift + M instead.

Where it works: Source editor

Every documented variant

Variants of this shortcut
System Environment Keys
Mac Desktop app CmdOptionShiftM
Windows Desktop app CtrlAltShiftM

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.

Report a correction