Write a data frame to csv file without column header in R [duplicate]

Solution 1:

Dont use write.csv, use write.table

 write.table( <yourdf>, sep=",",  col.names=FALSE)

You cannot change many settings in write.csv -- the arguments are just there as a reminder to the user. From the documentation:

These wrappers are deliberately inflexible: they are designed to ensure that the correct conventions are used to write a valid file. Attempts to change append, col.names, sep, dec or qmethod are ignored