hi,
i have such a file
head(mycounts[,1:4])
  AT2G26520 AT2G26530 AT2G26540 AT2G26510
1 AT2G26520   0.00000   0.51688   0.57686
2 AT2G26530   0.51688   0.00000   0.54974
3 AT2G26540   0.57686   0.54974   0.00000
4 AT2G26510   0.48842   0.52830   0.58760
5 AT2G23320   0.60273   0.64324   0.53196
6 AT2G39720   0.50206   0.54113   0.54894
but i need it like this
head(mycounts[,1:4])
                       AT2G26520 AT2G26530 AT2G26540 AT2G26510
1 AT2G26520   0.00000   0.51688   0.57686
2 AT2G26530   0.51688   0.00000   0.54974
3 AT2G26540   0.57686   0.54974   0.00000
4 AT2G26510   0.48842   0.52830   0.58760
5 AT2G23320   0.60273   0.64324   0.53196
6 AT2G39720   0.50206   0.54113   0.54894
but when i edit my file by adding tab to the first column i cant read my file anymore
and this is the error
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,  : 
  line 1 did not have 2857 elements
how i can read my file as i need ????/
thank you

thank you u all right.. my problem is basically