title: Read CSV in R and filter columns by name
body: <p>Let's say I have a CSV with dozens or hundreds of columns and I want to pull in just about 2 or 3 columns. I know about the <code>colClasses</code> solution as described <a href="https://stats.stackexchange.com/questions/16796/reading-only-two-out-of-three-columns-with-read-csv">here</a> but the code gets very unreadable.</p>
  
  <p>I want something like <code>usecols</code> from <a href="https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_csv.html" rel="nofollow noreferrer">pandas' <code>read_csv</code></a>.</p>
  
  <p>Loading everything and just selecting afterwards is not a solution (the file is super big, it doesn't fit in memory).</p>