In addStyle function, ability to omit value for rows as a way to apply formatting to entire column (and vice versa to apply to entire row).
This would save significant space as Excel optimizes memory for formats applied to entire columns or rows.
Actual Behavior
Currently, addStyle requires rows be specified with a range.
Steps to Reproduce the Problem
See test.xlsx for example where columns A-Z, rows 1-30000 have bold and numeric formatting applied. All cells are empty of any data. Resulting file size is 2 MB.
See attached test2.xlsx for example where columns A-Z, all rows have bold and numeric formatting applied. All cells are empty of any data. Resulting file size is 8 KB.
Expected Behavior
In addStyle function, ability to omit value for
rows
as a way to apply formatting to entire column (and vice versa to apply to entire row).This would save significant space as Excel optimizes memory for formats applied to entire columns or rows.
Actual Behavior
Currently, addStyle requires
rows
be specified with a range.Steps to Reproduce the Problem
See test.xlsx for example where columns A-Z, rows 1-30000 have bold and numeric formatting applied. All cells are empty of any data. Resulting file size is 2 MB.
See attached test2.xlsx for example where columns A-Z, all rows have bold and numeric formatting applied. All cells are empty of any data. Resulting file size is 8 KB.
sessionInfo()