Skip to content
Prev 277726 / 398506 Next

List of lists to data frame?

I don't know if this is faster, but ...

out <- do.call(rbind,
   lapply(s, function(x)data.frame(x$category,x$name,as.vector(x$series))))

## You can then name the columns of out via names()

Note: No fancy additional packages are required.

-- Bert
On Wed, Nov 16, 2011 at 6:39 PM, Kevin Burton <rkevinburton at charter.net> wrote: