Skip to content
Prev 295317 / 398502 Next

Could "incomplete final line found" be more serious than a warning?

(Original below)

Looks like someone had the bright idea of changing it to 16-bit UTF, so every 2nd byte is NUL. It works for me with 

x <- readLines(file("~/Downloads/WoS-new.txt", encoding="UTF-16"))

(except that for some reason, x won't print properly although each individual line prints fine. Never mind, who cares as long as it reads...)

-pd

PS: The reason the printing is wacky is that one line has 148934 characters in it and the print routines pad all lines to the maximum length. Not sure what the point is in that.
On May 22, 2012, at 18:26 , Michael B?rtl wrote: