16
A = data.frame( a = c(1:10), b = c(11:20) )
B = data.frame( a = c(101:110), b = c(111:120) )
C = data.frame( a = c(5:8), b = c(55:58) )

L = list(list(B,C),list(A),list(C,A),list(A,B,C),list(C))

I have a list of lists of Data Frames, L but I have to creat a single List of all the Data Frames as below (The ordering of the dataframes should remain same in L and New L.)

NewL = list( B,C,A,C,A,A,B,C,C )
user1415530
  • 413
  • 1
  • 6
  • 11

1 Answers1

13

Try reading the manual ;) and

unlist(L,recursive=F)
shhhhimhuntingrabbits
  • 7,397
  • 2
  • 23
  • 23
  • 1
    You learn something new everyday. Didn't know you could do that. Thanks for the answer. I probably should have read the manual on unlist myself :) +1 – Tyler Rinker Jun 15 '12 at 12:00