Displaying 1 result from an estimated 1 matches for "3peters".
Did you mean:
peters
2001 Jun 13
1
read.table and newline
...d now I get
the following warning message for program codes which made no
problems under version R-1.2.3:
Example:
R> read.table("test.dat")
Warning message:
incomplete final line in: readLines(con, n, ok)
where `test.dat' looks like
peters at artemis:~ > cat test.dat
1 2 3peters at artemis:~ >
i.e. without a newline at the end.
The warning can be suppressed if the last line in "test.dat" ends with
"\n". Is there a reason why "test.dat" should end with "\n" or is this a
bug in R-devel?
Andrea
> version
_...