Skip to content
Prev 4830 / 63421 Next

(HP-UX) scan: last line gets duplicated (PR#790)

On Fri, 22 Dec 2000 kleiweg@let.rug.nl wrote:

            
It *is* in the BUGS list shipped with 1.2.0, so why send it in again
with no references to the earlier one?
No, but I do suggest you debug it.  That is, build a debug version and run
it under gdb, and find out why this happens.  Is it just scan?
Does read.table (which uses scan) do it?  Does readLines (which does not)?
Does it happen on all files?  Only on those with CRLF or only LF line
endings?  Only on those with incomplete last lines?

It might be a compiler bug, so perhaps you would like to try compiling
with gcc.
The next are the lines of signed/unsigned char warnings that occur with
more informative messages on my platforms.  You need to look up the
numbers in your manual, as we do not have a manual for your compiler.