Skip to the main content

RStudio

Redo the undone edit

CmdShiftZ

Mac Desktop app RStudio IDE

Practice this

To redo the undone edit in RStudio, press Ctrl + Shift + Z. On a Mac, press Cmd + Shift + Z instead.

Where it works: Console or source

Every documented variant

Variants of this shortcut
System Environment Keys
Mac Desktop app CmdShiftZ
Windows Desktop app CtrlShiftZ

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