title: Auto-format R code in RStudio
body: <p>Is there any possibilities for auto-formatting code in RStudio?</p>
  
  <p>I found <a href="https://stackoverflow.com/questions/3017877/tool-to-auto-format-r-code">this</a>, but it is not connected with RStudio.</p>
  
  <p>Also it is desirable that it be customizable formatting.</p>