Dear Lavri, Take a look at the row.names argument in ?write.table. HTH,
Jorge On Thu, Jun 18, 2009 at 4:09 AM, Lavri Labi <[email protected]>wrote: > 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 > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

