From kohnicho@comp.nus.edu.sg  Fri May 10 01:53:36 2002
From: kohnicho@comp.nus.edu.sg (Nicholas Lewin-Koh)
Date: Fri, 10 May 2002 08:53:36 +0800 (GMT-8)
Subject: [Rd] read.table (PR#1535)
In-Reply-To: <200205091647.SAA23384@pubhealth.ku.dk>
Message-ID: <Pine.GSO.4.21.0205100850290.27456-100000@sf3.comp.nus.edu.sg>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] read.table (PR#1535)
Nicholas Lewin-Koh