I have a named list whose each element is a character vector. I want to write this list into a single dataframe where I have two columns, one with the name of the character vect
NewList <- lapply(names(List), function(X) data.frame(Names=X, Characters=List[[X]])) do.call(rbind, NewList)