Skip to content
Prev 366302 / 398502 Next

Export R output in Excel

Hi Jim,

Your assumption is correct. When running the analyses in R and want to export the output that appears in the console window to Excel(.csv) file.
I believe it is easier to do if the export it done to an Excel (.CSV) file.

So is there a way to export the analyses in the console window to a .CSV file with the good formatting ?
I am looking to export the whole output if possible. 

I found this code, but it doesn?t cover the whole output of the console. 

write.csv(coef(summary(test)), file=?test.csv?)

My whole output consists of descriptives and regressions. 

Best,

Bryan Mac
bryanmac.24 at gmail.com