Saves a list of datasets in separate sheets of an excel workbook.
Arguments
- x
A named list of datasets to be stored in a excel workbook. The list should be of the structure
list(<sheet name> = data)
. The dataset will be stored in the excel book work sheet with the name<sheet name>
.- workbook
Path to an
.xlsx
workbook in which the datasets should be saved in.- overwrite
This function will change the excel workbook specified in
workbook
. In order to avoid unintended loss of data, the function will list the workbook sheets that will be overwritten and asks you whether you would like to continue. You can setoverwrite
toTRUE
in order to avoid the prompt. This can be useful if the function is used outside of an interactive mode.