Possibly related: #2750
fread('A,B,C\n1,+,4\n2,-,5\n3,-,6\n', dec=',', verbose=TRUE)
Stopped early on line 2. Expected 3 fields but found 3. Consider fill=TRUE and comment.char=. First discarded non-empty line: <<1,+,4>>
with dec=',', +,4 reads as +.4.
But we've already detected sep=','... not sure the correct behavior for manually specified dec=','.
In any case the error message is strange "Expected 3 fields but found 3"
Possibly related: #2750
with
dec=',',+,4reads as+.4.But we've already detected
sep=','... not sure the correct behavior for manually specifieddec=','.In any case the error message is strange "Expected 3 fields but found 3"