using lapply on a list of dataframes
<p>I created a list of dataframes called "list" and want to select only certain columns of every dataset in the list. </p>

<pre><code>library(dplyr)
new_list &lt;- lapply(list, select(list, Date))
</code></pre>

<p>It returns an error because class(list[1]) is not dataframe but still a list. class(list[[1]]) is dataframe. I don't understand that because the elements in my list should be dataframes and I also don't know how I can use "lapply" anyway. </p>

<p>Thanks for your help!</p>