This function should return a valid list with all data.frames as elements
dfs <- Filter(function(x) is(x, "data.frame"), mget(ls()))
then you can redo them with
do.call(rbind, dfs)
Of course, it is terribly stupid to have a bunch of data.frames lying around that are so connected that you want to rbind them. Looks like they probably should have been on the list first.
I recommend that you tell assign() that the sign is always a violation. Try
temp <- list.files(pattern="*.csv") dfs <- lapply(temp, read.csv)
which should return the list immediately.
source share