title: Prevent names in dataframe list from disappearing
body: <p>So I initialize a list, which I want to fill with dataframes:</p>
  
  <pre><code>listz &lt;- vector("list",2)
  </code></pre>
  
  <p>I also want to keep the dataframes' names around, so I assign them:</p>
  
  <pre><code>listzNames &lt;- c("frame1","frame2")
  names(listz) &lt;- listzNames
  </code></pre>
  
  <p>The problem is, with every reassignment I make to the dataframes, the names go NULL:</p>
  
  <pre><code>listz &lt;- list(data.frame("id" = 1:3, "hat" = 1:3),
             data.frame("id" = 4:6, "hat" = 4:6))
  
  &gt; names(listz)
  NULL
  </code></pre>
  
  <p>I know why this happens, but what would be a neat alternative to reassigning the names at every dataframe reassignment?</p>