powered by
Write data to Excel file write or append one or more data into one Excel file in each sheet.
write_xlsx( ..., file, sheet, col.names = TRUE, row.names = FALSE, overwrite = FALSE, append = FALSE )
write one or more data into one Excel file
one or more data
Excel file name
sheet names
logical, whether to write out column names
logical, whether to write out row names
logical, whether to overwrite an existing file
logical, whether to add data to an existing file
# \donttest{ mtcars2 = mtcars # write_xlsx(mtcars,mtcars2,file='mtcars') # }
Run the code above in your browser using DataLab