title: How to load a table from file in Torch / Lua?
body: <p>Very simple operation. I have a file that contains a table made of N rows and 6 columns, and I would like to load it in a table in my Torch / Lua script.</p>
  
  <p>The data file looks this way:</p>
  
  <pre><code>chromNameA  startA  endA    chromNameB  startB  endB
  chr22   16867980    16868130    chr22   16669675    16678717
  chr22   16867980    16868130    chr22   16685348    16701095
  chr22   16867980    16868130    chr22   16723869    16739035
  chr22   16867980    16868130    chr22   16748016    16750787
  chr22   16867980    16868130    chr22   16750788    16755877
  </code></pre>
  
  <p>And I would like to load it in a table, where for example <code>table[1][2]</code> contains <code>16867980</code> and so on.</p>
  
  <p>How could I do it? Thanks</p>