I have a list of dataframes:
df1 <- data.frame(c(1:5), c(6:10))
df2 <- data.frame(c(1:7))
df3 <- data.frame(c(1:5), c("a", "b", "c", "d", "e"))
my_list <- list(df1, df2, df3)
From my_list, I want to extract the data frames which have only 2 columns (df1 and df3), and put them in a new list.