Skip to content

(no subject)

3 messages · Fam. Stallforth, Thomas W Blackwell, Brian Ripley

#
Hello!

I am trying to import data to R. The programm always responds with:
"incomplete final line found by readTableHeader on Data.doc"

What does that mean, and what could I change?

Thank you very much in advance.
Regards Florian Stallforth
#
Florian  -

One thing to *try* would be:  work from the R
command line and set the parameter "nlines" in
read.table()  to one less than the number of
lines of data in the file.  If this works, then
you can at least read in all but the last line.

I suspect something like a missing newline
character at the end of the file, or a strange
file format, but that is just a guess.

-  tom blackwell  -  u michigan medical school  -  ann arbor  -
On Tue, 23 Dec 2003, Fam. Stallforth wrote:

            
#
On 23 Dec 2003, Fam. Stallforth wrote:

            
It means the final line is incomplete, and you should complete it!
Does it actually have a EOL mark, that is CR or LF or CRLF depending on 
your operating system?  The message come up when the EOF is found before 
EOL.

I believe this is just a warning and the process continues correctly, but 
only believe ....