kayj
2009-12-17 23:52:45 UTC
Hi All,
I always have a problem with write.csv when I want the column names to be
ignored, when I specify col.names=F, I get a header of V1 V2 V3 V4 etc.
for example I tried
write.csv(mydata, file="data.csv", quote=FALSE, row.names=F, col.names=F)
Warning message:
In write.csv(mydata, file = "data.csv", quote = FALSE, :
attempt to set 'col.names' ignored
how can I get rid of this problem ? I do not want the header of V1 V2 V3...
to appear in my output file,
Thanks
I always have a problem with write.csv when I want the column names to be
ignored, when I specify col.names=F, I get a header of V1 V2 V3 V4 etc.
for example I tried
write.csv(mydata, file="data.csv", quote=FALSE, row.names=F, col.names=F)
Warning message:
In write.csv(mydata, file = "data.csv", quote = FALSE, :
attempt to set 'col.names' ignored
how can I get rid of this problem ? I do not want the header of V1 V2 V3...
to appear in my output file,
Thanks
--
View this message in context: http://n4.nabble.com/write-csv-and-col-names-F-tp974477p974477.html
Sent from the R help mailing list archive at Nabble.com.
View this message in context: http://n4.nabble.com/write-csv-and-col-names-F-tp974477p974477.html
Sent from the R help mailing list archive at Nabble.com.