Doesn't use apply but maybe the following will work for you? temp1<- data.frame(ID=c("Herb","Shrub"),stat=c(4,5),pvalue=c(.03,.04)) temp2<- data.frame(ID=c("Herb","Shrub", "Tree"),stat=c(12,15,13),pvalue=c(.2,0.4,.3)) L<-list(a=temp1,b=temp2)
d.f = do.call("rbind",L) d.f$tableName = substring(rownames(x),1,1) HTH Pete -- View this message in context: http://r.789695.n4.nabble.com/List-extraction-tp3413374p3413564.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.