Nick
Nick

Reputation: 9041

How to change letter case in RStudio editor?

I just read Google's R Style Guide, and decide to be consist with the letter case in function names and variables. How to change letter case in RStudio's editor? To be specific, how to change words

Upvotes: 22

Views: 9880

Answers (2)

To Lower case you can use the keyboard shortcut Ctrl + Shift + U, To Upper case you can use the keyboard shortcut Ctrl + U

Upvotes: 15

C8H10N4O2
C8H10N4O2

Reputation: 19005

According to Rstudio support:

There isn't one [i.e., a hotkey] right now. The functionality is available under the Vim keybindings, though--with the editor in Vim mode, pressing ~ will toggle the case of the character under the cursor (or of the current selection, etc.)

Further information on Vim mode is available at support.

Upvotes: 1

Related Questions