# NOT RUN {
## Create a new workbook and add a worksheet
wb <- createWorkbook("Creator of workbook")
addWorksheet(wb, sheetName = "My first worksheet")
## Save workbook to working directory
# }
# NOT RUN {
saveWorkbook(wb, file = "saveWorkbookExample.xlsx", overwrite = TRUE)
# }
Run the code above in your browser using DataLab