Re: [Rd] read.table() errors with tab as separator (PR#9061)

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Wed 05 Jul 2006 - 12:48:22 GMT

Prof Brian Ripley <ripley@stats.ox.ac.uk> writes:

> > Sorry, unclear. We already change quote= for read.delim and read.csv,
> > and I was suggesting also to modify the default for comment.char for
> > those functions, but definitely not for read.table.
> >
> > Arguably, those functions are there to handle file formats generated
> > by other programs, and it is unlikely that such programs will generate
> > comment lines starting with #, whereas we have learned that Excel will
> > occasionally generate fields like #NULL#, which mess up the parsing.
>
> Ah, that does seem a sensible defensive move.

Committed for r-devel (only). Make check seems happy, but we may need to watch out for the package checking.

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed Jul 05 22:51:05 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 05 Jul 2006 - 18:27:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.