I've got a dataframe in R that has around 34000 rows and 10 columns. Some of these columns contain strings. When I try to export to Excel or csv (either via write.xlsx or write.csv or write.table) and then open the file, the results file does not open properly. The format looks very messy and unreadable.
Has anyone got any tips for exporting an R dataframe to Excel or csv, and opening it without any formatting errors in the Excel view?
readrequivalents. For examplewrite_excel_csv()seems to be applicable in your situation.