title: fread() of file from archive
body: <p>I would like to know what is the recommended way of reading a <code>data.table</code> from an archived file (zip archive in my case). One obvious option is to unzip it to a temporary file and then <code>fread()</code> it as usual. I don't want to bother about creating new file, so instead I use <code>read.table()</code> from <code>unz()</code> connection and then convert it with <code>data.table()</code>:</p>
  
  <pre><code>mydt &lt;- data.table(read.table(unz(myzipfilename, myfilename)))
  </code></pre>
  
  <p>This works fine but <code>read.table()</code> is slow for big files while <code>fread()</code> can't read <code>unz()</code> connection directly. I'm wondering if there is any better solution.</p>