Curly brace style setting or disabling auto-formatting

I use an atypical curly brace style in R:

if (xyzzy)

In R Studio editor when editing either R or R markdown file, when I enter either left or right brace it moves it to align with the "if" instead of leaving it where I typed it. Is there a way to tell RStudio what brace indent style I want, or if not, is there a way to turn off all auto-formatting features of the RStudio editor? I tried turning off all options that seemed related, but that didn't do it.