Skip to content
Prev 11709 / 398502 Next

read.table and newline

Andrea Peters <Peters.Andrea at imbe.imed.uni-erlangen.de> writes:
It's the normal convention for text files on Unix et al. that each
line is terminated with a \n. Not having one could be a sign that the
file was corrupted, hence the warning. Other utilities will also give
warnings, e.g. vim will display the file with "[noeol]", other vi-s
will complain and fix the last line.