Or use melt in the reshape2 package to melt all columns to one with an indexing column to boot...
______________________Scott Chamberlain Rice University, EEB Dept. On Wednesday, May 25, 2011 at 7:06 AM, zoe.cryocla wrote: > Ok, I found how to do, > with the function paste() > > -- > View this message in context: > http://r.789695.n4.nabble.com/Print-the-content-of-several-columns-in-only-one-tp3549114p3549514.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. > [[alternative HTML version deleted]] ______________________________________________ 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.