Re: [R] col headers in read.table()

2009-09-24 Thread Henrique Dallazuanna
Try this; mat <- read.table('test.txt',header=T,row.names=1,sep='\t', check.names = FALSE) On Thu, Sep 24, 2009 at 2:25 PM, Tim Smith wrote: > Hi, > > I was trying to read in a file test.txt, which has the following data: >  norm   norm    norm    class   class   class > a       1       2      

[R] col headers in read.table()

2009-09-24 Thread Tim Smith
Hi, I was trying to read in a file test.txt, which has the following data: norm normnormclass class class a 1 2 3 4 5 6 b 3 4 5 6 7 8 c 5 6 7 8 9 10 in my R code, I do the f