Hello all, I had some trouble recently with write.csv because I couldn't change one of the default options. A quick view of the code showed that the function was not defined in the most optimal way.
Currently, write.csv <- function (..., col.names = NA, sep = ",", qmethod = "double") write.table(..., col.names = NA, sep = ",", qmethod = "double") Thus, the options passed along to write.csv are ignored by the function (unless in the ...). Perhaps a better way to define the function is as such (similar to read.csv): write.csv <- function (..., col.names = NA, sep = ",", qmethod = "double") write.table(..., col.names = col.names, sep = sep, qmethod = qmethod) The same also applies to write.csv2 Best, Robert > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 1.1 year 2005 month 06 day 20 language R ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel