[R] incomplete final line found by readLines on ...

Taka Matzmoto sell_mirage_ne at hotmail.com
Fri Jun 30 15:18:40 CEST 2006


Dear R-users

I need to read some text files produced by some other software.
I used readLines (with n = -1 ) command and then tried to find some numbers 
I liked to extract or some line numbers I like to know.

The problem is that there is no empty line at the end of the text files.

R gave me this warning below;

In addition: Warning message:
incomplete final line found by readLines on 'output.txt'

I know this doesn't affect anything and just warning messages. Is there any 
way to prevent this warning message.

Thanks

Taka



More information about the R-help mailing list