title: How to split a column of list into several columns using R
body: <p>The original data frame :</p>
  
  <pre><code>     sg                                dt               time
  2099     C 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 2014-07-24 16:23:55.2
  2100     C 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 2014-07-24 16:23:55.4
  2101     C 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 2014-07-24 16:23:55.5
  2103     C 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0 2014-07-24 16:23:56.4
  2104     C 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0 2014-07-24 16:23:56.5
  2102     C 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1 2014-07-24 16:23:56.7
  </code></pre>
  
  <p>There is one column named "dt",</p>
  
  <pre><code>&gt; z$dt
  [[1]]
   [1] "0" "0" "0" "0" "0" "1" "0" "0" "0" "0" "0" "0" "0"
  
  [[2]]
   [1] "0" "0" "0" "0" "0" "1" "0" "0" "0" "0" "0" "0" "0"
  
  [[3]]
   [1] "0" "0" "1" "0" "0" "1" "0" "0" "0" "0" "0" "0" "0"
  
  [[4]]
   [1] "0" "0" "0" "1" "0" "1" "0" "0" "0" "0" "1" "0" "0"
  
  [[5]]
   [1] "0" "0" "0" "0" "0" "1" "0" "0" "0" "0" "1" "0" "0"
  
  [[6]]
   [1] "0" "0" "0" "0" "0" "1" "0" "0" "0" "0" "0" "0" "1"
  </code></pre>
  
  <p>I want convert the column "dt" into multiple columns like:</p>
  
  <pre><code>           sg  A  B  C  D  E  F  G  H  I  G  K  L  M             time
      2099     C 0  0  0  0  0  1  0  0  0  0  0  0  0 2014-07-24 16:23:55.2
      2100     C 0  0  0  0  0  1  0  0  0  0  0  0  0 2014-07-24 16:23:55.4
      2101     C 0  0  1  0  0  1  0  0  0  0  0  0  0 2014-07-24 16:23:55.5
      2103     C 0  0  0  1  0  1  0  0  0  0  1  0  0 2014-07-24 16:23:56.4
      2104     C 0  0  0  0  0  1  0  0  0  0  1  0  0 2014-07-24 16:23:56.5
      2102     C 0  0  0  0  0  1  0  0  0  0  0  0  1 2014-07-24 16:23:56.7
  </code></pre>
  
  <p>What should I do?</p>