Here are a number ways to use RStudio to repeat stuff but not yourself.

Shortcuts




Find and replace and Find in Files


Renaming stuff – generally and in scope


Snippets

Code Snippets

More shortcuts

RStudio IDE cheetsheet