title: Populate dataframe cell with a vector
body: <p>Is it possible to populate a dataframe cell with a list?</p>
  
  <p>This is my code:</p>
  
  <pre><code>input_vector &lt;- sample(1:1000, 200)
  input_vector
  
  new_data_frame &lt;- data.frame("Values" = numeric() , "Divisors" = numeric())
  new_data_frame
  
  for (i in input_vector) {
    if (i %% 3 == 0 &amp; i %% 7 == 0) {
     new_data_frame[nrow(new_data_frame)+1, 1] &lt;- i
     new_data_frame[nrow(new_data_frame), 2] &lt;- c(3, 7)
    } 
    }
  
  new_data_frame
  </code></pre>
  
  <p>However, it seems that I can't populate the second column with c(3,7). Running the code without this following line works:</p>
  
  <pre><code>new_data_frame[nrow(new_data_frame), 2] &lt;- c(3, 7)
  </code></pre>
  
  <p>Also, when I add the numbers 3 and 7 as a string, it works. Why can I add strings to a SINGLE cell in a dataframe, but not vectors or lists.</p>