?write.csv indicates that among other things, for write.csv arguments:
append, col.names, sep, dec and qmethod cannot be changed
To get around this, use the more general version, write.table.
write.table(1:5, row.names = FALSE, col.names = FALSE, sep=',')
# 1
# 2
# 3
# 4
# 5
source
share