[R] read.table error

From: Eric C. Jennings <matheric_at_u.washington.edu>
Date: Thu 08 Dec 2005 - 15:57:51 EST


Hey, Once again I ask for some quick help.

Here is some code:
ovendata<- read.table("ovens.dat",header=TRUE) attach(ovendata)
print(ovendata)

Here is the .dat file:

D    One     Two     Three   Four    Five    Seven   Eight
1130    254     252     375     384     252     375     876
127     250     250     384     386     251     378     875

Here is the R Console output:
> ovendata<- read.table("ovens.dat",header=TRUE)
Warning message:
incomplete final line found by readTableHeader on 'ovens.dat'
> attach(ovendata)

        The following object(s) are masked from ovendata ( position 3 ) :

         D Eight Five Four One Seven Three Two

        The following object(s) are masked from ovendata ( position 4 ) :

         D Eight Five Four One Seven Three Two

        The following object(s) are masked from ovendata ( position 5 ) :

         Eight Five Four One Seven Three Two

        The following object(s) are masked from package:stats :

         D

> print(ovendata)

     D One Two Three Four Five Seven Eight 1 1130 254 252 375 384 252 375 876 2 127 250 250 384 386 251 378 875
>

I've never seen anything like theis before. What's going on?

Eric



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Dec 08 16:05:41 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:34 EST