title: How to merge all elements of list in R?
body: <p>I have a list containing data frames as its elements in R.</p>
  
  <p>Example:</p>
  
  <pre><code>df1 &lt;- data.frame("names"=c("John","Sam","Dave"),"age"=c(21,22,25))
  df2 &lt;- data.frame("names"=c("John","Sam"),"score"=c(22,25))
  df3 &lt;- data.frame("names"=c("John","Sam","Dave"),"country"=c("US","SA","NZ"))
  mylist &lt;- list(df1,df2,df3)
  </code></pre>
  
  <p>Is it possible to merge all the elements of mylist together without using a loop?</p>
  
  <p>My desired output for this example is:</p>
  
  <pre><code>  names age score country
  1  John  21    22      US
  2   Sam  22    25      SA
  </code></pre>
  
  <p>The list in this example has only three elements; however, I am looking for a solution that can handle an arbitrary number of elements.</p>