openxlsx package is installed, Huxtables can be converted to
openxlsx::openxlsx() Worbook objects, for use in Excel documents.
as_Workbook(ht, ...) # S3 method for huxtable as_Workbook( ht, Workbook = NULL, sheet = "Sheet 1", write_caption = TRUE, start_row = 1, start_col = 1, ... )
Name for the worksheet where the huxtable will be created.
Number. Write data starting at the given row and column.
An object of class
openxlsx::saveWorkbook() to save the resulting object to an Excel file.
Properties are supported with the following exceptions:
Non-numeric column widths and row heights, table width and height.
Contents are only stored as numbers if a whole column is "numeric", i.e. can
be converted by
as.numeric()). Otherwise, they are stored as text.