saveWorkbook | R Documentation |
save a Workbook object to file
saveWorkbook(wb, file, overwrite = FALSE, returnValue = FALSE)
wb |
A Workbook object to write to file |
file |
A character string naming an xlsx file |
overwrite |
If |
returnValue |
If |
Alexander Walker, Philipp Schauberger
createWorkbook()
addWorksheet()
loadWorkbook()
writeData()
writeDataTable()
## 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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.