Dibakar Ray <[EMAIL PROTECTED]> writes:
> I am very new to R. I was trying to load some publicly available Expression
> data in to R.
> I used the following commands
> mydata<-read.table("dataALLAMLtrain.txt", header=TRUE, sep
> ="\t",row.names=NULL)
> It reads data without any error
> Now if I use
> edit(mydata)
> It shows only 3916 entries, whereas the actual file contains 7129 entries)
...
> So it seems R is truncating the data. How can I load the complete file?
First isolate the source. edit() could have a bug, so what is
dim(mydata) ? Does the input file really have 7130 lines?
length(readLines("foobar.txt")) should tell you if you don't have "wc"
on your system.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help