title: How to indent multiple lines of code in Rstudio?
body: <p>I have tried using "reindent lines" after highlighting the lines but that doesn't work (in fact it removes indentation). For example I want a quick way to</p>
  
  <p>take a script like this</p>
  
  <pre><code>#parameters
  b=2
  c=1
  d=4
  q=3
  </code></pre>
  
  <p>and turn it into this</p>
  
  <pre><code>#parameters
      b=2
      c=1
      d=4
      q=3
  </code></pre>
  
  <p>in Rstudio</p>