title: Storing array of words from string in a list of full names in R
body: <p>I have a list of <code>120777</code> records which contains names of people. I want to store an array of name parts for each record in the dataset. I tried this in R.</p>
  
  <pre><code>my_list$name_parts&lt;- strsplit(my_list$name, " ")
  </code></pre>
  
  <p>I get a <code>my_list$name_parts</code> as a list of <code>120777</code> items. When I try querying the number of words in each name using <code>length(my_list$name_parts)</code>, I get <code>120777</code> for all.</p>