write_excel_allsheets {fabR} | R Documentation |
xlsx::write.xlsx()
recursivelyThe R objects are read and the values are placed in separated sheets. This function is inspired by the function proposed in https://statmethods.wordpress.com/2014/06/19/quickly-export-multiple-r-objects-to-an-excel-workbook/
write_excel_allsheets(list, filename)
list |
R objects, coma separated. |
filename |
A character string of the path of the Excel file. |
Nothing to be returned. The file is created at the path declared in the environment.
{
unlink(
write_excel_allsheets(
list = list(iris = iris, mtcars = mtcars),
filename = tempfile()))
}