title: Converting dataframe columns from lists
body: <p>I have what I consist a tricky situation. I used a nested lapply statement and I am trying to extract the results into a dataframe. The method I used to extract the result is below. The first element in the list is the year of the data, with 1 being 2014, 2 2015 etc. I used other approach which produced the same outcome </p>
  
  <pre><code>runs_results_1 &lt;- as.data.frame(Reduce(rbind, runs_year[[1]]))
  </code></pre>
  
  <p>The real problem is that when I run the following code</p>
  
  <pre><code>sapply(runs_results_1, mode)
  </code></pre>
  
  <p>It returns the following for the dataframe. With the columns being lists it is annoying to use the data.</p>
  
  <pre><code>statistic     p.value        runs          mu         var      method   
  data.name 
   "list"      "list"      "list"      "list"      "list"      "list"      
   "list" 
  alternative     players 
   "list"      "list" 
  </code></pre>
  
  <p>Is there a way to convert each of the columns from a list into a numeric or character column? I realize i am not providing a workable example and from other possibles it seems this is a technical answer as to how R structure things. Any help would be appreciated. </p>