[R] read.table with multiple header lines

Deborah Kronenberg Deborah.kronenberg at gmx.de
Mon Apr 7 19:47:41 CEST 2008


Hello,

I have difficulties in reading in a text file with multiple (=2) header lines. My table looks like this:

id	code	gr	grcode	AA	AB	AC	AD
			time	30	40	50	60
1	1234	1	c	0	1	0	0
2	1346	1	c	0	0	0	1
3	1456	1	c	0	0	1	1
4	1893	1	c	0	0	1	1

Can someone help me out?

Thanks

Deborah
--



More information about the R-help mailing list