I see Dason has an approach. I would rather separate the individual things and suggest:
ddply(mtcars, .(carb), summarize, cyl_list = list(as.character(cyl)))
carb cyl_list
1 1 4, 6, 6, 4, 4, 4, 4
2 2 8, 4, 4, 4, 8, 8, 8, 4, 4, 4
3 3 8, 8, 8
4 4 6, 6, 8, 6, 6, 8, 8, 8, 8, 8
5 6 6
6 8 8
Dason collapse = ",", , , . list() .