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.4.0 by Jeroen Ooms, 7 months ago

https://docs.ropensci.org/writexl/ (website) 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, DCEtool, DDIwR, DescToolsAddIns, GetDFPData2, ISRaD, ImportExport, Inflect, MCPtests, MDMAPR, PSS.Health, accucor, basedosdados, capl, cinaR, compareGroups, concatipede, deaR, dextergui, downloadthis, ezpickr, healthyR, irtGUI, isobxr, midrangeMCP, mschart, periscope, pguIMP, quincunx, radiant.data, rnmamod, ugatsdb, youtubecaption.

Suggested by coder, designr, ibawds, preregr, rock, suddengains.

See at CRAN