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 <lavri.l...@tu-dortmund.de>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
>
> ______________________________________________
> R-help@r-project.org 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]]

______________________________________________
R-help@r-project.org 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.

Reply via email to