[R] Questíon regarding the use of write.csv2, write.table ...

Lavri Labi lavri.labi at tu-dortmund.de
Thu Jun 18 10:09:28 CEST 2009


Hi all,

I use "write.csv" and "write.table" to write a data frame in a file like
following:
write.csv2(allRandomTestCase_XDroped, "allRandomTestCase.csv")
But in the created file "allRandomTestCase.csv" an additional column with
consecutive numbers is automatically added to the column of the data frame
"allRandomTestCase_XDroped".

That is why my question, how can I write data in a file without this added
column?

Cheers,

Lavri




More information about the R-help mailing list