Thank you, this does the job perfectly!
Regards, David
R> new.df <- data.frame(id,age) Or, perhaps more automatic: R> new.df <- do.call(data.frame, sapply(ls(pos=2), as.name)) Is this what you are after? Cheers, Berwin
______________________________________________ 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.