openxlsx: xlsx reading, writing and editing.

Description Details See Also

Description

openxlsx simplifies the the process of writing and styling Excel xlsx files from R and removes the dependency on Java.

Details

The openxlsx package uses global options to simplfy formatting:

  • options("openxlsx.borderColour" = "black")

  • options("openxlsx.borderStyle" = "thin")

  • options("openxlsx.dateFormat" = "mm/dd/yyyy")

  • options("openxlsx.datetimeFormat" = "yyyy-mm-dd hh:mm:ss")

  • options("openxlsx.numFmt" = NULL)

  • options("openxlsx.paperSize" = 9) ## A4

  • options("openxlsx.orientation" = "portrait") ## page orientation

See the Formatting vignette for examples.

See Also

  • vignette("Introduction", package = "openxlsx")

  • vignette("formatting", package = "openxlsx")

  • writeData

  • writeDataTable

  • write.xlsx

  • read.xlsx

for examples



Search within the openxlsx package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.