I have a with numerical elements of different length of the form
list1 <- 1 : 2
list2 <- 1 : 3
list3 <- c(10, 100)
mylist <- list(a = list1, b = list2, c = list3)
and I would like to transform it into a data frame like this one
# a 1
# a 2
# b 1
# b 2
# b 3
# c 10
# c 100
Is there a way to do it?