[R] Writing a data frame in an excel file

Peter Ehlers ehlers at ucalgary.ca
Mon Nov 16 21:13:28 CET 2009


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:

Excel can read CSV files, so why not just use either
write.csv() or write.table() with sep=","?

  -Peter Ehlers




More information about the R-help mailing list