title: How to create a vector of lists in R?
body: <p>I have a list (tmpList), which looks like this:</p>
  
  <pre><code>$op
  [1] "empty"
  
  $termset
  $termset$field
  [1] "entry"
  
  $termset[[2]]
  $termset[[2]]$explode
  [1] "Y"
  </code></pre>
  
  <p>This is a list with a list inside.
  If I add this list to a vector</p>
  
  <pre><code>theOneVector = c(theOneVector, tmpList)
  </code></pre>
  
  <p>Now the resulting vector is of the length 2, because the first entry ("op") of the list is separated from the tmpList.
  Is it possible to append the complete tmpList into this vector?
  <br>
  I already tried it with</p>
  
  <pre><code>theOneVector = c(theOneVector, list(tmpList))
  </code></pre>
  
  <p>which gives a vector with the length of 1, but it is very cumbersome to access the elements of the list with this extra list around the list. (Too much list in one sentence I think.)<br></p>
  
  <p></p>
  
  <p>Any help would be appreciated,<br>
  Martin</p>