save a Workbook object to file
saveWorkbook(wb, file, overwrite = FALSE, returnValue = FALSE)
## Create a new workbook and add a worksheet
wb <- createWorkbook("Creator of workbook")
addWorksheet(wb, sheetName = "My first worksheet")
## Save workbook to working directory
if (FALSE) { # \dontrun{
saveWorkbook(wb, file = "saveWorkbookExample.xlsx", overwrite = TRUE)
} # }