We have started working on a new rOpenSci package called writexl. This package wraps the very powerful libxlsxwriter library which allows for exporting data to Microsoft Excel format.
Dear Mr Jeroen,
I have installed our writexl pacakage. I am able to write a data frame into an xlx to file. I want to know the location of the file so that I can open it in excel package and edit that.
Kanagaraj Easwaran
India
Hello! I noticed that writexl has problems with big chunks of text:
“String exceeds Excel’s limit of 32,767 characters.”
openxslx and WriteXLS seem to be fine with the same data, even if the first creates slightly corrupted files (but excel can usually fix them) and the second is terribly slow.
Excel does not support strings of more than 32,767 characters. If you want to write those, you need to convert to preprocess the data beforehand. I don’t think that creating “slighlty corrupted” files is desirable behavior.
WriteXLS does create files that don’t complain on opening though, even if it takes ages (maybe because of the Perl layer). About openxls the “complains” happens just with big files and it simply asks you if you trust the file. Then it logs this (I translated the italian parts and obscured the paths):
Found errors in file '///test.xlsx’<repairedRecords** summary**=“Follows a list of the restoring operations:”>Restored record: String property from part /xl/sharedStrings.xml (String)**`