[R] read.table(..)..Help?

Ko-Kang Kevin Wang kwan022 at stat.auckland.ac.nz
Thu Nov 20 08:28:01 CET 2003

On Wed, 19 Nov 2003, forkusam wrote:

>  Hallo,
>  can someone please help me.
>  I have a proplem reading a file with more that one
> rows.
> e.g I used the function:
> p<-read.table(file="FILENAME ", header=TRUE,sep=";")
> and later used the data.Frame() function. 
> It functions when the file has only a row of
> variables.
> When I insert the second row I get an error message.
>  How do I do this

1) Have you read through the documentations?

2) Are you sure each field is separated by a semi-colon ";"?

3) Exactly what the error messages are?  It is kind of difficult to 
diagnose your problem without knowing the error messages!



"Try not.  Do, do!  Or do not.  There is no try"
   Jedi Master Yoda

Ko-Kang Kevin Wang
Master of Science (MSc) Student
SLC Tutor and Lab Demonstrator
Department of Statistics
University of Auckland
New Zealand
Homepage: http://www.stat.auckland.ac.nz/~kwan022
Ph: 373-7599
    x88475 (City)
    x88480 (Tamaki)

More information about the R-help mailing list