What Is The Styling Convention Used By RStudio's Built-In Code Reformat Shortcut?

In RStudio, you can highlight code and use the shortcut command shift A (I think on Windows it is control shift A) to auto-reformat your code style. RStudio has its own opinion about how code should be formatted. Personally I don't care what the opinion is, I just want it to be consistent, but I find some of the results of this shortcut unpredictable. Are the style rules that this shortcut uses available somewhere? Lo, I have searched everywhere but alas, I cannot find this anywhere. Any help would be appreciated!


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.