convert a list of lists to dataframe in r code example Example: list to dataframe in r df <- data.frame(matrix(unlist(l), nrow=length(l), byrow=T))