Hi

> In the following data.frame there are 6 columns, but 7 are written to
> the CSV file.
> 
> install.packages("pmlr")
> library(pmlr)
> data(enzymes)
> write.table(enzymes, sep=",", eol="\n",file="albert.csv")

see row.names option in ?write.table

Regards
Petr

> 
> ______________________________________________
> 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.

______________________________________________
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