Requires openxlsx package

write_xlsx(x, xlsx_filename, colNames = TRUE, opts = hl_opts())

Arguments

x

emphatic data.frame object

xlsx_filename

xlsx filename

colNames

Display column names? logical. Default: TRUE

opts

rendering options

Value

None

Examples

mtcars |>
   hl('blue') |>
   write_xlsx(tempfile())