[Rd] write.csv (PR#7992)

arnima@u.washington.edu arnima at u.washington.edu
Thu Jul 7 05:21:43 CEST 2005


The write.csv() function is currently implemented as

   function (..., col.names=NA, sep=",", qmethod="double")
   {
     write.table(..., col.names=NA, sep=",", qmethod="double")
   }

Surely, it should be

   function (..., col.names=NA, sep=",", qmethod="double")
   {
     write.table(..., col.names=col.names, sep=sep, qmethod=qmethod)
   }

so that the user arguments serve a purpose. This notion is reflected in 
the implementation of read.csv(), for example, where sep=sep, quote=quote, 
etc.


Arni

R 2.1.1pat 2005-07-04 on WinXP



More information about the R-devel mailing list