title: R: how to smartbind multiple dataframes in a simpler way?
body: <p>I want to use smartbind() to merge 20+ dataframes. 
  These data frames have  different number of observations (rows). Most of their columns have the same names though some differ. I have named them like this:   </p>
  
  <pre><code>data.Argentina  
  data.Brazil  
  data.Venezuela
  </code></pre>
  
  <p>Then, I wrote  </p>
  
  <pre><code>library(gtools)
  combined.data  &lt;- smartbind(mget(ls(pattern = "^data.")))
  </code></pre>
  
  <p>The error information is : </p>
  
  <blockquote>
    <p>Error in data.frame(data.Argentina = list(pais = c(1L, 1L, 1L, 1L, 1L,
    :    arguments imply differing number of rows: 1512, 3429, 1533, 3067,
    1500, 1571, 1510, 1537, 1520, 1489, 1507, 1557, 1561, 1503, 1535,
    1546, 1508, 4000, 4203</p>
  </blockquote>
  
  <p>Then, I have to do it by manually <strong>listing all data frames</strong>: </p>
  
  <pre><code>combined.data &lt;- smartbind (data.Argentina, data.Brazil, data.Venezuela)
  </code></pre>
  
  <p><strong>This time it works!</strong></p>
  
  <p>So could I use other functions or other commands to make the process simpler?</p>
  
  <p>Thank you! </p>