Learn R Programming

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

openxlsx (version 2.0.1)

.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

2.0.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Alexander Walker

Last Published

May 29th, 2014

Functions in openxlsx (2.0.1)

setFooter

Set footer for all worksheets
insertImage

Insert an image into a worksheet
readWorkbook

Read data from a worksheet into a data.frame
loadWorkbook

Load an exisiting .xlsx file
conditionalFormat

Add conditional formatting to cells
read.xlsx

Read data from a worksheet into a data.frame
removeRowHeights

Remove custom row heights from a worksheet
orderCellRef

Returns ordering of sorted cell references
writeData

Write an object to a worksheet
insertPlot

Insert the current plot into a worksheet
setRowHeights

Set worksheet row heights
addWorksheet

Add a worksheet to a workbook
addStyle

Add a style to a set of cells
deleteData

Delete cell data
renameWorksheet

Rename an exisiting worksheet
modifyBaseFont

Modify the default font
getCellRefs

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

Freeze a worksheet pane
getStyles

Returns a list of all styles in the workbook
writeDataTable

Write to a worksheet and format as a table
mergeCells

Merge cells within a worksheet
saveWorkbook

save Workbook to file
convertToDate

Convert from excel date number to R Date type
pageSetup

Set page margins, orientation and print scaling
removeColWidths

Remove custom column widths from a worksheet
replaceStyle

Replace an existing cell style
setHeader

Set header for all worksheets
openxlsx

xlsx reading, writing and editing.
convertFromExcelRef

Convert excel column name to integer index
sheets

Returns names of worksheets.
worksheetOrder

Order of worksheets in xlsx file
removeCellMerge

Create a new Workbook object
showGridLines

Set worksheet gridlines to show or hide.
openXL

Open a Microsoft Excel file (xls/xlsx) or an openxlsx Workbook
createWorkbook

Create a new Workbook object
createStyle

Create a cell style
write.xlsx

write directly to an xlsx file
removeWorksheet

Remove a worksheet from a workbook
getBaseFont

Return the workbook defaul font
names

get or set worksheet names
convertToDateTime

Convert from excel time number to R as.POSIXct
setColWidths

Set worksheet column widths