Wednesday, November 16, 2011

an easy way to writing data.frame to Excel


you can write it as
write.table(r.data.frame, "excel.file.xls", sep="\t", na="", row.names=F)
which I can usually open in Excel just by clicking on it.

Credit: http://tolstoy.newcastle.edu.au/R/help/05/04/3388.html

No comments:

Post a Comment