[R] write.csv and col.names=F

Reeyarn_李智洋_10928113 reeyarn at gmail.com
Fri Dec 18 14:37:41 CET 2009


On Fri, Dec 18, 2009 at 7:52 AM, kayj <kjaja27 at yahoo.com> wrote:
>
> 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.
>

I tried that and found the same problem, however, I found
  write.table(mydata, file="data.csv",col.names=F)
works.

write.csv calls write.table to save data, is there something wrong with it?

--
Best Regards,
Reeyarn T. Lee




More information about the R-help mailing list