how to appropriately export datasets from R studio in an appropriate style?
1
0
Entering edit mode
5.7 years ago
Mozart ▴ 330

Hello there, I really need to export my dataset in excel for a submission. I tried with "write.csv" but unfortunately all the columns turn to be merged in one, when I open the file in excel; I don't know why this is happening. It also seems that numbers change a bit? is it possible? for example in R a value has 1.237598e+01 and when I export in excel it changes in 1,2376E+12?

can you suggest a definitive way to export a simple dataset in order to avoid to further fix it on excel, please? I really tried my best to look online for troubleshooting but unfortunately I was not able to do that.

Thanks in advance.

R excel • 1.5k views
ADD COMMENT
0
Entering edit mode

Try to open the file using plain text editor like Notepad++.

ADD REPLY
3
Entering edit mode
5.7 years ago
lokraj2003 ▴ 120

Maybe you can export into Excel format (.xlsx) instead of .csv format. You can use xlsx package to export the data into excel format.

ADD COMMENT

Login before adding your answer.

Traffic: 1611 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6