Re: [R] re ad.table problem

From: Schleuh <Arnaud.Schloesing_at_univ-lille2.fr>
Date: Thu, 10 Jul 2008 03:00:39 -0700 (PDT)

did you remark you obtain the half of rows (636615*2=1273230) ; maybe the columns aren't good sliced

phoebe kong wrote:
>
> 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")
>
> 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, the dimension of "temp" is 636,615 X 6.
>
> Do yo know why?
>
> Thanks in advanced,
>
> Sityee
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>

-- 
View this message in context: http://www.nabble.com/read.table-problem-tp18370284p18379571.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 10 Jul 2008 - 10:25:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 10 Jul 2008 - 11:31:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive