[Rd] read.table (PR#1535)
Nicholas Lewin-Koh
kohnicho@comp.nus.edu.sg
Fri, 10 May 2002 08:53:36 +0800 (GMT-8)
Hi,
I don't think there is anything wrong with R in this case, it is the
file. I had to do a bit of editing to read those mit files into R. The
problem is that the tabs are not quite right. I fixed it by reading it
into Gnumeric and rewriting. I can send you some R dumps of the files if
you like.
Nicholas
On Thu, 9 May 2002 ebura@gwu.edu wrote:
> I downloaded the latest version of R (1.5.0) and issued a read.table() command
> that used to work with (1.3.1). Unfortunately I erased 1.3.1 from my hard
> drive after I downloaded R 1.5.0.
>
> Here's the command and the error message I get under 1.5.0:
>
> >
> golub1<-read.table("C:/Microarrays/code/data_set_ALL_AML_train.txt",sep="\t",q
> uote="",header=T,row.names=NULL)
> Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec,
> :
> line 6808 did not have 79 elements
>
> Any help will be appreciated!
>
> Thanks,
> Efstathia
>
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>
CH3
|
N Nicholas Lewin-Koh
/ \ Dept of Statistics
N----C C==O Program in Ecology and Evolutionary Biology
|| || | Iowa State University
|| || | Ames, IA 50011
CH C N--CH3 http://www.public.iastate.edu/~nlewin
\ / \ / nlewin@iastate.edu
N C
| || Currently
CH3 O Graphics Lab
School of Computing
National University of Singapore
The Real Part of Coffee kohnicho@comp.nus.edu.sg
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._