Learn R Programming

⚠️There's a newer version (4.2.8) of this package.Take me there.

openxlsx (version 1.0.3)

.xlsx reading, writing and editing.

Description

This package simplifies the creation of .xlsx files by providing a high level interface to writing, styling and editing worksheets. Through the use of Rcpp, read/write times are comparable to the xlsx and XLConnect packages with the added benefit of removing the dependency on Java.

Copy Link

Version

Install

install.packages('openxlsx')

Monthly Downloads

397,276

Version

1.0.3

License

GPL-3

Maintainer

Alexander Walker

Last Published

April 21st, 2014

Functions in openxlsx (1.0.3)

mergeCells

Merge cells within a worksheet
modifyBaseFont

Modify the default font
insertPlot

Insert the current plot into a worksheet
freezePane

Freeze a worksheet pane
convertFromExcelRef

Convert excel column name to integer index
createStyle

Create a cell style
conditionalFormat

Add conditional formatting to cells
createWorkbook

Create a new Workbook object
getCellRefs

Return excel cell coordinates from (x,y) coordinates
addStyle

Add a style to a set of cells
deleteData

Delete cell data
addWorksheet

Add a worksheet to a workbook
getStyles

Returns a list of all styles in the workbook
loadWorkbook

Load an exisiting .xlsx file
orderCellRef

Returns ordering of sorted cell references
removeRowHeights

Remove custom row heights from a worksheet
readWorkbook

Read data from a worksheet into a data.frame
setHeader

Set header for all worksheets
saveWorkbook

save Workbook to file
showGridLines

Set worksheet gridlines to show or hide.
renameWorksheet

Rename an exisiting worksheet
setFooter

Set footer for all worksheets
writeData

Write to a worksheet
writeDataTable

Write to a worksheet and format as a table
removeColWidths

Remove custom column widths from a worksheet
setColWidths

Set worksheet column widths
pageSetup

Set page margins, orientation and print scaling
replaceStyle

Replace an existing cell style
setRowHeights

Set worksheet row heights
read.xlsx

Read data from a worksheet into a data.frame
insertImage

Insert an image into a worksheet
removeCellMerge

Create a new Workbook object
removeWorksheet

Remove a worksheet from a workbook
sheets

Returns names of worksheets.