[Rd] read.table (PR#1535)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Fri, 10 May 2002 08:09:52 +0200 (MET DST)


This was confirmed as a comment character in the file, a new feature in
1.4.0.

On Fri, 10 May 2002, Nicholas Lewin-Koh wrote:

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

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


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