search for: dfrs

Displaying 1 result from an estimated 1 matches for "dfrs".

Did you mean: dfr
2011 Jul 06
1
accessing names of lists in a list
...name all their columns and do other operations with them. The data.frame names are not continuous like 1, 3, 4, 6. I could not find a way of creating a list of the data.frames and loop this and ended up putting them into a list first: # get all objects all.obj = sapply(ls(), get) # get data frames dfrs = all.obj[sapply(all.obj, is.data.frame)] but then I get lists within lists: structure(list(`1` = structure(list(Datum = structure(c(... my problem now is how to access the inner list, for example to rename the "Datum" to "date". The following changes only the outer list: na...