From p.dalgaard at biostat.ku.dk  Wed Jul  5 14:48:22 2006
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: 05 Jul 2006 14:48:22 +0200
Subject: [Rd] read.table() errors with tab as separator (PR#9061)
In-Reply-To: <Pine.LNX.4.64.0607051225320.14072@gannet.stats.ox.ac.uk>
References: <20060705093501.8275353DBA@slim.kubism.ku.dk>
	<x2veqcmlcs.fsf@viggo.kubism.ku.dk>
	<Pine.LNX.4.64.0607051128280.8003@gannet.stats.ox.ac.uk>
	<x2mzbomh52.fsf@viggo.kubism.ku.dk>
	<Pine.LNX.4.64.0607051225320.14072@gannet.stats.ox.ac.uk>
Message-ID: <x2ejx0md49.fsf@viggo.kubism.ku.dk>

Prof Brian Ripley <ripley at 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 at biostat.ku.dk)                  FAX: (+45) 35327907



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