# NOT RUN {
wb <- as_Workbook(jams)
# }
# NOT RUN {
openxlsx::saveWorkbook(wb,
"my-excel-file.xlsx")
# }
# NOT RUN {
# multiple sheets in a single workbook:
wb <- openxlsx::createWorkbook()
wb <- as_Workbook(jams,
Workbook = wb, sheet = "sheet1")
wb <- as_Workbook(
hux("Another", "huxtable"),
Workbook = wb,
sheet = "sheet2")
# }
Run the code above in your browser using DataCamp Workspace