From p.dalgaard@biostat.ku.dk  Thu Sep  9 16:00:19 1999
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 09 Sep 1999 17:00:19 +0200
Subject: [R] read.table bug
In-Reply-To: Kurt Hornik's message of "Thu, 9 Sep 1999 16:35:05 +0200 (CEST)"
References: <37D7B372.CDA3589D@inet.polyu.edu.hk> 	<x2aeqwxkyj.fsf@blueberry.kubism.ku.dk> <14295.50585.281674.771207@fangorn.ci.tuwien.ac.at>
Message-ID: <x27lm0xh8c.fsf@blueberry.kubism.ku.dk>

Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> writes:

> So
> 	read.table(sep = ",")
> 
> would be different from
> 
> 	read.csv()

Yes. Or - there are many ways to do it - extend read.table with an
option, e.g. quote='"', which for all I care could be the default. The
point is that you may want the other behaviour (quote=NULL) in some
cases. 

(How does CSV handle embedded quotes? Wotsit.org says that it is
system dependent, but a common convention is doubling the quote, i.e.
"abc""dfg". Others might do "abc"dfg", which is likely a bug. And some
systems use ';' or '|' as the separator.)

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[R] read.table bug
Peter Dalgaard BSA