Re: [R] Ignore text when reading data

2009-01-28 Thread beyar
gt; input <- read.table(textConnection(x[indx.num])) > names(input) <- strsplit(header, "\\s+")[[1]] > input beyar wrote: > > Hi, > I have tab delimited text files containing numerical data, > like below, but many more columns. > > As you can see, the first few line

[R] Ignore text when reading data

2009-01-28 Thread beyar
next line (containing units) and start importing data. The header row repeats. i want to ignore the blank rows and text in the data and then continue reading. Is there an easy way to do this? thanks Beyar - main data file - file 1 by mr x etc Timeout1 Sec