Use unlist. In any case, don't write an explicit "loop over the columns". See ?lapply instead.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 05 September 2003 16:08 > To: [EMAIL PROTECTED] > Subject: [R] all values from a data frame > > > Security Warning: > If you are not sure an attachment is safe to open please contact > Andy on x234. There are 0 attachments with this message. > ________________________________________________________________ > > Hello, > > I've a data frame with 15 colums and 6000 rows, and I need > the data in a > single vector of size 90000 for ttest. Is there such a conversion > function in > R, or would I have to write my own loop over the colums? > > thanks for your help + kind regards > > Arne > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > Simon Fear Senior Statistician Syne qua non Ltd Tel: +44 (0) 1379 644449 Fax: +44 (0) 1379 644445 email: [EMAIL PROTECTED] web: http://www.synequanon.com Number of attachments included with this message: 0 This message (and any associated files) is confidential and\...{{dropped}} ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help