You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hopefully my last one.. I have nearly everything working :)
When writing a character NA (NA_character_) using the option wb_add_data(..., na.strings = NULL), the cell is not left blank, but instead _openxlsx_NA is written in the cell.
The text was updated successfully, but these errors were encountered:
nicojx
changed the title
na.string = NULL does not respect NA_character_
wb_add_data(..., na.string = NULL) does not work with NA_character_
Nov 21, 2022
PR in #430. Thanks again! For the time being you can use na.strings = "". The effect on the user side will be the same.
NULL erases the cell entirely in XML we write: <c r="A1"/>. The cell has no content.
With na.strings = "" we will write: <c r="A1"><is><t></t></is></c>.
The effect will be the same, just that the file will be a little larger in the second case (and Excel will know that the current cell content is of type character).
Hopefully my last one.. I have nearly everything working :)
When writing a character NA (
NA_character_
) using the optionwb_add_data(..., na.strings = NULL)
, the cell is not left blank, but instead_openxlsx_NA
is written in the cell.The text was updated successfully, but these errors were encountered: