By the way, this also works:

dfl <- data.frame(x = 1:3, y = I(list(1:2, 1:3, 1:4)))

As indicated in "Advanced R" book:
http://adv-r.had.co.nz/Data-structures.html#data-frames

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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