From arnima at u.washington.edu  Thu Jul  7 05:21:43 2005
From: arnima at u.washington.edu (arnima@u.washington.edu)
Date: Thu,  7 Jul 2005 05:21:43 +0200 (CEST)
Subject: [Rd] write.csv (PR#7992)
Message-ID: <20050707032143.E6643A2CB@slim.kubism.ku.dk>

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



[Rd] write.csv (PR#7992)
arnima@u.washington.edu