title: Adding data frames as list elements (using for loop)
body: <p>I have in my environment a series of data frames called EOG. There is one for each year between 2006 and 2012. Like, EOG2006, EOG2007...EOG2012. I would like to add them as elements of a list. </p>
  
  <p>First, I am trying to know if this is possible. I read the official R guide and a couple of R programming manuals but I didn't find explicit examples about that.</p>
  
  <p>Second, I would like to do this using a for loop. Unfortunately, the code I used to do the job is wrong and I am going crazy to fix it.</p>
  
  <pre><code>for (j in 2006:2012){
  z&lt;-j
  sEOG&lt;-paste("EOG", z, sep="")
  dEOG&lt;-get(paste("EOG", z, sep=""))
  lsEOG&lt;-list()
  lsEOG[[sEOG]]&lt;-dEOG
  }
  </code></pre>
  
  <p>This returns a list with one single element. Where is the mistake?</p>