title: Create a separate variable for each element of a list
body: <p>I have a list of data frames, which was produced from reading in 25 .csv files at once.  I would like to unlist the data frames to begin a spatial analysis.  That is, I would like to have individual data frames for each element of the list.</p>
  
  <p>I have tried <code>unlist()</code>, but it does not produce the result I want.  I have also tried an approach with <code>lapply()</code>, but it produces an error.  Here's what I've tried:</p>
  
  <pre><code>x &lt;- 1:3
  y &lt;- 4:6
  
  l &lt;- lapply(1:2, function(x){data.frame(x, y)})
  
  lapply(1:length(l), function(i){paste('df', i, sep = '') &lt;- data.frame(l[[i]])})
  </code></pre>
  
  <p>The problem seems to be in assigning the data frame to the pasted name.  Wrapping it with <code>as.character()</code> did not help.</p>
  
  <p>This does work:</p>
  
  <pre><code>"df1" &lt;- data.frame(l[[1]])
  </code></pre>
  
  <p>It seems the problem is somewhere in the output of my <code>paste()</code> function, but the output has <code>str()</code> 'chr'.  Any ideas how I can make my approach work?  Is there a cleaner way to unlist my data frames?</p>