title: Convert list of vectors to data frame
body: <p>I'm trying to convert a list of vectors (a multidimensional array essentially) into a data frame, but every time I try I'm getting unexpected results.</p>
  
  <p>My aim is to instantiate a blank list, populate it in a for loop with vectors containing information about that iteration of the loop, then convert it into a data frame after it's finished.</p>
  
  <pre><code>&gt; vectorList &lt;- list()
  &gt; for(i in  1:5){
  +     vectorList[[i]] &lt;- c("number" = i, "square root" = sqrt(i))
  + }
  &gt; vectorList
  </code></pre>
  
  <p>Outputs:</p>
  
  <pre><code>&gt; [[1]]
  &gt;      number square root 
  &gt;           1           1 
  &gt; 
  &gt; [[2]]
  &gt;      number square root 
  &gt;    2.000000    1.414214 
  &gt; 
  &gt; [[3]]
  &gt;      number square root 
  &gt;    3.000000    1.732051 
  &gt; 
  &gt; [[4]]
  &gt;      number square root 
  &gt;           4           2 
  &gt; 
  &gt; [[5]]
  &gt;      number square root 
  &gt;    5.000000    2.236068
  </code></pre>
  
  <p>Now I want this to become a data frame with 5 observations of 2 variables, but trying to create a data frame from 'vectorList'</p>
  
  <pre><code>numbers &lt;- data.frame(vectorList)
  </code></pre>
  
  <p>results in 2 observations of 5 variables.</p>
  
  <p>Weirdly it won't even be coerced with reshape2 (which I know would be an awful work around, but I tried).</p>
  
  <p>Anyone got any insight?</p>