[R] Read.table - Less rows than original data

2008-07-09 Thread phoebe kong
Dear all, I have problem when reading a table into R. The total row of read in table has is much less than the original saved table. I built a 1,273,230 by 6 data set named mydata2, it was saved in the following command, write.table(mydata2, mydata2.txt, row.name=F,col.name=T,quote=F,sep=\t)

Re: [R] Read.table - Less rows than original data

2008-07-09 Thread Ben Bolker
phoebe kong sityeekong at gmail.com writes: I built a 1,273,230 by 6 data set named mydata2, it was saved in the following command, write.table(mydata2, mydata2.txt, row.name=F,col.name=T,quote=F,sep=\t) The next day I read in above saved text file into R,

Re: [R] Read.table - Less rows than original data

2008-07-09 Thread Philipp Pagel
I built a 1,273,230 by 6 data set named mydata2, it was saved in the following command, write.table(mydata2, mydata2.txt, row.name=F,col.name=T,quote=F,sep=\t) The next day I read in above saved text file into R, temp-read.table(mydata2.txt,header=T,sep=\t,na.strings=NA) However,