Skip to content
Prev 76067 / 398502 Next

reading "special" text files

On Wed, 24 Aug 2005, Jan Wiener wrote:

            
Into a variable or a data frame?
With no column names? Not possible.
I think we need to know what the structure here is.  At a guess, the 
separator is multiple tabs as in the example.  In that case
V1 V2 V3 V4 V5 V6
1  1  1  2  3 NA NA
2  2  1  2  3  4 NA
3  3  1  5  6  7  8

or
V2 V3 V4 V5 V6
1  1  2  3 NA NA
2  1  2  3  4 NA
3  1  5  6  7  8

does in essence what you want.