Yes, that was exactly what I was looking for.  Very concise.  Thank you.

My "real" example has many more items in each cell.  I will now have to
figure out how to put a "carriage return" after, say, every fourth item.

Nevertheless, thank you very much for the quick and accurate answer.

-----Original Message-----
From: r...@quantide.com [mailto:r...@quantide.com] 
Sent: Friday, January 23, 2009 9:25 AM
To: Derek Ogle
Cc: r-h...@stat.math.ethz.ch
Subject: Re: [R] Table Modification

If I understood propelly

 > tapply(fact3, list(fact1, fact2) , paste, collapse = ",")

A.

______________________________________________
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