title: How to put a vector of character strings of various length into a dataframe
body: <p>I have a long vector that I want to put into a dataframe in R. Here is an example</p>
  
  <pre><code>vector&lt;-c("1","John Doe","15%","2","Janet Doe","13%","3","Jack William Doe","10%") 
  </code></pre>
  
  <p>I would like to have an output that would look like this</p>
  
  <pre><code>    Position      Names       Percentage
  1        1         John Doe        15%
  2        2        Janet Doe        13%
  3        3 Jack William Doe        10%
  </code></pre>
  
  <p>I know the solution will involve data.frame() and probably strsplit() but the later splits the names that have variable length.</p>