title: How to split a column into multiple (non equal) columns in R
body: <p>I'm working with a string that is a list of elements separated by commas. I want to separate the string so that each element has its column. But I'm having trouble because there are a different number of elements per list.</p>
  <pre><code>X1 &lt;- &quot;a,b,c&quot;
  X2 &lt;- &quot;a,b&quot;
  X3 &lt;- &quot;a,b,c,d&quot;
  
  DF &lt;- data.frame(Col1= rbind(X1,X2,X3))
  
        Col1
  X1   a,b,c
  X2     a,b
  X3 a,b,c,d
  </code></pre>
  <p>I would like it to look like this. Where each element has its own column, irrespective of how many elements there are in the character's string.</p>
  <pre><code>      Col1  Col2 Col3 Col4
  X1     a    b     c
  X2     a    b
  X3     a    b     c    d
  </code></pre>
  <p>Thank You!</p>