Re: [R] Unexpected behaviour from read.table

2018-02-05 Thread peter dalgaard
This looks like a bug. Specifically, inside read.table lines <- .External(C_readtablehead, file, nlines, comment.char, blank.lines.skip, quote, sep, skipNul) returns "lines" as [1] "ID\tValue" "=\"Total\"\t1000" [3] "=\"CJ01 \"\t550\n=\"CF0

[R] Unexpected behaviour from read.table

2018-02-04 Thread Michael
I’ve been struggling with seemingly ‘corrupt’ data.frames for a few days, and believe I’ve narrowed the problem down to some odd behaviour from read.table I receive a tab delimited file from an external provider where strings are encoded as =“content”. Not sure why, perhaps as most users open it