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.

 -Peter

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to