title: dplyr::select - Including All Other Columns at End of New Data Frame (or Beginning or Middle)
body: <p>When interacting with data I find the dplyr library's select() function a great way to organize my data frame columns.</p>
  
  <p>One great use, if I happen to be working with a df that has many columns, I often find myself putting two variables next to each other for easy comparison. When doing this, I then need to attached all other columns either before or after.  I found the <code>matches(".")</code> function a super convenient way to do this. </p>
  
  <p>For example: </p>
  
  <pre><code>library(nycflights13)
  library(dplyr)
  
  # just have the five columns:
  select(flights, carrier, tailnum, year, month, day) 
  
  # new order for all column:
  select(flights, carrier, tailnum, year, month, day, matches(".")) 
  # matches(".")  attached all other columns to end of new data frame
  </code></pre>
  
  <p><strong>The Question</strong>
  - I am curious if there is a better way to do this? Better in the sense of being more flexible. </p>
  
  <p>For example of one issue: Is there some way to include "all other" columns at the beginning or middle of new data.frame?  (Note that <code>select(flights, matches("."), year, month, day, )</code> doesn't produce desired result, since <code>matches(".")</code> attached all columns and <code>year, month, day</code> are ignored because they are repeats of existing columns names.) </p>