I have the following data in R:
list0 <- list(ff = 45,gg = 23)
list1 <- list(a = 2, b=list0)
LIST <- list(mylist = list1)
I want to convert this list to a dataframe and get an output dataframe as follows, which has the following column header naming conventions:
a b.ff b.gg
1 2 45 23
any help is appreciated.