Re: [R] reading in table with different number of elements in each row

2010-05-25 Thread David Winsemius
On May 25, 2010, at 8:05 PM, Johan Jackson wrote: HI all, This is probably simple, but I haven't been able to locate the answer either in the Import Manual or from searching the listserve. I have tab-delimited data with different numbers of elements in each row. I want to read it into R,

Re: [R] reading in table with different number of elements in each row

2010-05-25 Thread jim holtman
This is in the Detail of the help page: The number of data columns is determined by looking at the first five lines of input (or the whole file if it has less than five lines), or from the length of col.names if it is specified and is longer. This could conceivably be wrong if fill or blank.lines.