[R] list of data.frames?

Steve Jaffe sjaffe at riskspan.com
Wed Jun 17 20:39:58 CEST 2009


I'm trying to build up a list of data.frames by "appending" one by one. 

If x,y,z are data.frames, I can do

somelist <- list(x, y, z)  (or even somelist <- list(x=x, y=y, z=z) to get
names)

But if I start with 

somelist <- list(x,y) and now want to go from this to list(x,y,z) I'm stuck.
I've tried

append(somelist, z)
c(somelist, z)
list(somelist, z)

Each gives a different result but none are what I'm looking for. Any
suggestions? Thanks

-- 
View this message in context: http://www.nabble.com/list-of-data.frames--tp24079579p24079579.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list