powered by
Writes a data frame to an xlsx file.
write_xlsx(x, path = tempfile(fileext = ".xlsx"), col_names = TRUE)
data frame to write to disk
a file name to write to
write column names at the top of the file?
Currently supports strings, numbers, booleans and dates. Formatting options may be added in future versions.
# NOT RUN { # Roundtrip example tmp <- write_xlsx(iris) readxl::read_xlsx(tmp) # }
Run the code above in your browser using DataLab