Re: [R] Errors reading data file?

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Sun 13 Mar 2005 - 02:23:12 EST

Chris Bergstresser wrote:

> Hi all --
>
> I tried loading a data file with the following command:
>
> > data = read.table("filename.txt", header = TRUE, sep = ",")
>
> This appeared to work fine, except it silently skipped 400 records
> (out of 1200). It turns out, some of the text fields included quotes,
> and I needed to use 'quote = ""'.
> Why wasn't there an error message? Is there some way to enable one?
>
> -- Chris
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html

Can you please specify a very short example (5 lines or so) that you think fails without appropriate error message?

Uwe Ligges



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Mar 14 10:33:59 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:46 EST