du_write_excel: write a list of data frames to excel with each data frame in...

Description Usage Arguments Value Examples

View source: R/datatrame_io.R

Description

Element names will be used as sheet name.

Usage

1
du_write_excel(x, path, add_index = FALSE, overwrite = FALSE)

Arguments

x

a list of data frames

path

the path to write

add_index

whether to add index number in sheet name, if TRUE, tabs are named such as 1_sheetName1, 2_sheetName2 ...

overwrite

whether to overwrite existing file

Value

NULL, files written to an excel file.

Examples

1
2
3
4
5
6
## Not run: 
dflist <- list(iris = head(iris),mtcars = head(mtcars))
du_write_excel(dflist,"test.xlsx")
du_write_excel(dflist,"test.xlsx",add_index = TRUE, overwrite = TRUE)

## End(Not run)

yusuzech/dfutils documentation built on Dec. 8, 2019, 4:39 p.m.