On Oct 8, 2009, at 11:13 AM, delnatan wrote:


Hi ,

I want to convert a my list:

myList
[[1]]
[1] 1 2 3 4 5
[[2]]
[1] 6 7 8
[[3]]
[1] 9 10 11

into something like c(1,2,3,4,5,6,7,8,9,10,11)

?unlist


I realized that this is possible by

c(do.call("cbind",myList))

But only when list[[1]] through list[[3] have equal length of vectors within
them

Any ideas?


David Winsemius, MD
Heritage Laboratories
West Hartford, CT

______________________________________________
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.

Reply via email to