title: Rearrange Variables in a Data Frame in R
body: <p>If I have variables in a data frame in the following order</p>
  
  <p><code>date var1 var2 var3</code></p>
  
  <p>is there a way to rearrange the variables so that visually when I see the data using the <code>View(data)</code> or <code>fix(data)</code> command, I can see them rearranged in the following</p>
  
  <p><code>date var2 var3 var1</code></p>