I am trying to save an Excel workbook from Rstudio, in which new data was added, the way I am saving it is with saveworkbook
from openxlsx
library, but it gives me the following error:
Error in zip_internal(zipfile, files, recurse, compression_level, append = FALSE, : zip error:
Cannot add file
[Content_Types].xmlto archive
file383c1b9b6cc7.xlsx`` in filezip.c:394
For more background for the excel file, it's size is around 28Mb
.
When I first opened the file in Excel 2007 the software told me that it couldn't read the file, after Excel managed to fix the file its summary was:
removed part /xl/comments1.xml part with xml error. (comments) load error
I don't know if it was Excel 2007 fix that caused the error Rstudio it gives me, zip_internal
.