title: Any way to create a list of dataframes, while retaining dataframe object type?
body: <p>Is there anyway to create a list of dataframes while keeping the dataframe object type?  The reason I am trying to do this is that I am trying to loop a function over the list of dataframes, and the function only works on objects of class <code>data.frame</code>.  For instance:        </p>
  
  <pre><code>&gt; df&lt;-data.frame("A"=c(1,1,1,1), "B"=c(2,2,2,2), "C"=c(3,3,3,3))
      A B C
    1 1 2 3
    2 1 2 3
    3 1 2 3
    4 1 2 3
  &gt; class(df)
      [1] "data.frame"
  
  &gt; lst&lt;-list(df)
  &gt; class(lst[1])
      [1] "list"
  </code></pre>