title: Concatenate/merge tables in R
body: <p>I have some tables <code>Table1</code>,<code>Table2</code>,<code>Table3</code>,<code>Table4</code>. They have the same number of <code>columns</code> and <code>rows</code> and what I want is to <code>merge</code> them into one big <code>Table</code>.</p>
  
  <p>I have tried making a list of the tables and then converting it to a <code>matrix</code> but the output doesn't seem what I want.</p>
  
  <pre><code>l &lt;- list(Table1, Table2, Table3, Table4)
  l &lt;- lapply(l, as.data.frame)
  m &lt;- matrix(unlist(l), nrow = length(l))
  </code></pre>
  
  <p>I have also tried to just <code>merge</code> the four tables using <code>merge(Table1, Table2, Table3, Table4)</code> but I am not sure about providing the proper arguments and therefore I get an error.</p>
  
  <blockquote>
    <p>Error in fix.by(by.x, x) :<br>
      'by' must specify one or more columns as numbers, names or logical<br>
    Calls: merge -> merge.data.frame -> fix.by</p>
  </blockquote>
  
  <p>I have also tried to write the tables to an external <code>.txt</code> file and then read from that file a new table.</p>
  
  <pre><code>#write.table(Table1, file = "file.txt", append = TRUE)
  #write.table(Table2, file = "file.txt", append = TRUE, col.names=FALSE)
  #write.table(Table3, file = "file.txt", append = TRUE, col.names=FALSE)
  #write.table(Table4, file = "file.txt", append = TRUE, col.names=FALSE)
  </code></pre>
  
  <p>However this solution is inadequate for various reasons and I had to drop it.</p>
  
  <p>By the way I would prefer the first solution to somehow work.</p>
  
  <p><strong><em>Edit:</em></strong> I forgot to mention that all four tables have identical indexes <code>1,2,3,..,</code> and same columns names, etc. I am pointing this out because for example <code>cbind</code> doesn't fit well.</p>
  
  <p>I am pretty sure this is a trivial task but I am stuck. Any help?</p>