I am unable to format columns after exporting with the following function:
write.xlsx(df, file=paste0("H:/OrderReport/Orders_", today, ".xlsx"))
I am getting the following messages to the console.
adding: xl/worksheets/ (164 bytes security) (stored 0%)
adding: xl/worksheets/sheet1.xml (164 bytes security) (deflated 84%)
I read the documentation at https://cran.r-project.org/web/packages/openxlsx/openxlsx.pdf, however, I could not find much information about the compression option and how to turn it off. I was going to try to turn off the compression listed above to see if that allowed me to format columns in the Excel output.
options("openxlsx.compressionLevel" = "9")
## set zip compression level, default is "1".