[R] Writing a data frame in an excel file
smu
ml at z107.de
Mon Nov 16 21:06:56 CET 2009
hello,
sep="\n" will seperate each column by \n which is not what you want.
I think a csv would be the best solution.
write.table(yourdataframe,sep=",")
or use write.csv directly.
regards,
stefan
On Mon, Nov 16, 2009 at 11:49:28AM -0800, anna_l wrote:
>
> Hello, I am having trouble by using the write.table function to write a data
> frame of 4 columns and 7530 rows. I don´t know if I should just use a
> sep="\n" and change the .xls file into a .csv file. Thanks in advance
>
> -----
> Anna Lippel
> new in R so be careful I should be asking a loooooooot of questions!:teeth:
> --
> View this message in context: http://old.nabble.com/Writing-a-data-frame-in-an-excel-file-tp26378240p26378240.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list