Export Data Frames to Excel 'xlsx' Format

Zero-dependency data frame to xlsx exporter based on 'libxlsxwriter'. Fast and no Java or Excel required.



  • Update bundled libxlswriter 0.8.4
  • Do not write blank xlsx strings for NA and "" character values
  • Coerce bit64 vectors to double with warning (xlsx does not have int64)


  • Save R 'Date' types as proper datetime strings
  • Update vendored libxlswriter to 0.7.6


  • Add support for lists in write_xlsx() to create xlsx with multiple sheets
  • Automatically coerce columns of type 'Date' and 'hms' to strings


  • Initial CRAN release with clippy

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.1 by Jeroen Ooms, 6 months ago

https://github.com/ropensci/writexl (devel), https://libxlsxwriter.github.io (upstream)

Report a bug at https://github.com/ropensci/writexl/issues

Browse source code at https://github.com/cran/writexl

Authors: Jeroen Ooms [aut, cre] , John McNamara [cph] (Author of libxlsxwriter (see AUTHORS and COPYRIGHT files for details))

Documentation:   PDF Manual  

BSD_2_clause + file LICENSE license

Suggests spelling, readxl, nycflights13, testthat, bit64

Imported by AeRobiology, ConR, Ricetl, compareGroups, deaR, dextergui, ezpickr, mschart, radiant.data, youtubecaption.

Suggested by suddengains.

See at CRAN