[R] Strange csv parsing problem
ehlers at ucalgary.ca
Thu Apr 8 17:51:43 CEST 2010
On 2010-04-08 9:10, Hadley Wickham wrote:
>> Remove the comma and count.fields gives 11 for all rows.
>> From your other post(s) on escaped quotes, I assume that
>> this won't solve your problem with the existing files. (:
> Right - but assuming I'm not crazy, that should cause an error in
> read.csv, right? It shouldn't just parse the file regardless.
I don't think you're crazy. I would have expected an error, too.
Maybe read.table should run count.fields first. But I haven't looked
at the code yet.
More information about the R-help