title: Extract certain files from .zip
body: <p>Is there a way to selectively extract from a <code>.zip</code> archive those files with names matching a pattern?</p>
  
  <p>For example, if I want to use all <code>.csv</code> files from the archive and ignore other files.</p>
  
  <p>Current approach:</p>
  
  <pre><code>zipped_file_names &lt;- unzip('some_archive.zip') # extracts everything, captures file names
  csv_nms &lt;-  grep('csv', zipped_file_names, ignore.case=TRUE, value=TRUE)
  library('data.table')
  comb_tbl &lt;- rbindlist(lapply(csv_nms,  function(x) cbind(fread(x, sep=',', header=TRUE, 
                                                                 stringsAsFactors=FALSE), 
                                                           file_nm=x) ), fill=TRUE ) 
  </code></pre>
  
  <p>Instead of just selecting which ones to read (<code>csv_nms</code>), I'm looking for a way to choose which ones to extract in the first place.</p>
  
  <p>I'm currently on v3.2.2 (Windows).</p>