See ?read.table
:
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.
So you have 2 options:
specify the
col.names
parametername every column in your file before reading it into R