Read, Write and Edit 'xlsx' Files


[Up] [Top]

Documentation for package ‘openxlsx2’ version 0.7.1

Help Pages

A C D F G I N O P R S T W X misc

-- A --

as.character.fmt_txt format strings independent of the cell style.
as_xml loads character string to pugixml and returns an externalptr

-- C --

cell_style get and set cell style
cleanup clean sheet (remove all values)
clean_worksheet_name Clean worksheet name
col2int Convert Excel column to integer
convertToExcelDate convert back to ExcelDate
convert_date Convert from excel date, datetime or hms number to R Date type
convert_datetime Convert from excel date, datetime or hms number to R Date type
convert_hms Convert from excel date, datetime or hms number to R Date type
create_border create border
create_cell_style create_cell_style
create_comment Create, write and remove comments
create_dxfs_style Create a custom formatting style
create_fill create fill
create_font create font format
create_hyperlink create Excel hyperlink string
create_numfmt create number format
create_sparklines create sparklines used in 'add_sparline()'
create_tablestyle create tableStyle
current_sheet 'openxlsx2' waivers

-- D --

dataframe_to_dims create dimensions from dataframe
delete_data clean sheet (remove all values)
dims_helper dims helpers
dims_to_dataframe create dataframe from dimensions
dims_to_rowcol dims helpers

-- F --

fmt_txt format strings independent of the cell style.

-- G --

get_cell_refs Return excel cell coordinates from (x,y) coordinates
get_date_origin Get the date origin an xlsx file is using
get_named_regions Create / delete a named region
guess_col_type function to estimate the column type. 0 = character, 1 = numeric, 2 = date.

-- I --

int2col Convert integer to Excel column

-- N --

named_region Create / delete a named region
na_strings 'openxlsx2' waivers
next_sheet 'openxlsx2' waivers

-- O --

openxlsx2 xlsx reading, writing and editing.

-- P --

print.fmt_txt format strings independent of the cell style.
print.pugi_xml print pugi_xml
pugixml xml_node

-- R --

read_sheet_names Get names of worksheets
read_xlsx Read from an Excel file or Workbook object
read_xml read xml file
remove_comment Create, write and remove comments
rowcol_to_dims dims helpers

-- S --

select_active_sheet get and set table of sheets and their state as selected and active
sheet_visibility Get/set worksheet visible state
styles_on_sheet get all styles on a sheet
style_mgr style manager

-- T --

temp_xlsx helper function to create temporary directory for testing purpose

-- W --

waivers 'openxlsx2' waivers
wbChartSheet R6 class for a Workbook Chart Sheet
wbComment R6 class for a Workbook Comments
wbHyperlink R6 class for a Workbook Hyperlink
wbSheetData R6 class for a Workbook Hyperlink
wbWorkbook R6 class for a Workbook
wbWorksheet R6 class for a Workbook Worksheet
wb_add_border add border for cell region
wb_add_cell_style add cell style for cell region
wb_add_chartsheet Add a chartsheet to a workbook
wb_add_chart_xml add a chart xml to a workbook
wb_add_comment Create, write and remove comments
wb_add_conditional_formatting Add conditional formatting to cells
wb_add_creators Workbook creators
wb_add_data Add data to a worksheet
wb_add_data_table Add data to a worksheet as an Excel table
wb_add_data_validation Add data validation to cells
wb_add_drawing add drawings to workbook
wb_add_dxfs_style add dxfs style These styles are used with conditional formatting and custom table styles
wb_add_fill add fill for cell region
wb_add_filter Add column filters
wb_add_font add font for cell region
wb_add_formula Add a character vector as an Excel Formula
wb_add_form_control Add form control Checkbox, Radiobuttons or Dropmenu
wb_add_ignore_error Ignore error on worksheet
wb_add_image Insert an image into a worksheet
wb_add_mschart Add mschart object to an existing workbook
wb_add_named_region Create / delete a named region
wb_add_named_style add named style for cell region
wb_add_numfmt add numfmt for cell region
wb_add_page_break Add a page break to a worksheet
wb_add_pivot_table Add pivot table to a worksheet
wb_add_plot Insert the current plot into a worksheet
wb_add_sparklines add sparklines to workbook
wb_add_style add style to workbook
wb_add_worksheet Add a worksheet to a workbook
wb_clean_sheet clean sheet (remove all values)
wb_clone_sheet_style clone sheets style
wb_clone_worksheet Clone a worksheet to a workbook
wb_color Create a new wbColour object
wb_colour Create a new wbColour object
wb_copy_cells copy cells around
wb_creators Workbook creators
wb_data provide wb_data object as mschart input
wb_freeze_pane Freeze a worksheet pane
wb_get_active_sheet get and set table of sheets and their state as selected and active
wb_get_base_font Return the workbook default font
wb_get_cell_style get and set cell style
wb_get_creators Workbook creators
wb_get_named_regions Create / delete a named region
wb_get_order Order of worksheets in xlsx file
wb_get_selected get and set table of sheets and their state as selected and active
wb_get_sheet_name Get sheet name
wb_get_sheet_names Get worksheet names for a workbook
wb_get_sheet_visibility Get/set worksheet visible state
wb_get_tables List Excel tables in a workbook
wb_get_worksheet Get a worksheet from a 'wbWorkbook' object
wb_grid_lines Set worksheet gridlines to show or hide.
wb_group_cols Group Rows and Columns
wb_group_rows Group Rows and Columns
wb_hyperlink Create a new hyperlink object
wb_load Load an existing .xlsx file
wb_merge_cells Worksheet cell merging
wb_modify_basefont Modify the default font
wb_open little worksheet opener
wb_order Order of worksheets in xlsx file
wb_page_setup Set page margins, orientation and print scaling
wb_protect Protect a workbook from modifications
wb_protect_worksheet Protect a worksheet from modifications
wb_read Read from an Excel file or Workbook object
wb_remove_col_widths Remove column widths from a worksheet
wb_remove_comment Create, write and remove comments
wb_remove_creators Workbook creators
wb_remove_filter Remove a worksheet filter
wb_remove_named_region Create / delete a named region
wb_remove_row_heights Remove custom row heights from a worksheet
wb_remove_tables Remove an Excel table in a workbook
wb_remove_worksheet Remove a worksheet from a workbook
wb_save Save Workbook to file
wb_set_active_sheet get and set table of sheets and their state as selected and active
wb_set_base_font Modify the default font
wb_set_bookview Set the workbook position, size and filter
wb_set_cell_style get and set cell style
wb_set_col_widths Set worksheet column widths
wb_set_creators Workbook creators
wb_set_header_footer Set document headers and footers
wb_set_last_modified_by Add another author to the meta data of the file.
wb_set_order Order of worksheets in xlsx file
wb_set_row_heights Set worksheet row heights
wb_set_selected get and set table of sheets and their state as selected and active
wb_set_sheetview add sheetview
wb_set_sheet_names Set worksheet names for a workbook
wb_set_sheet_visibility Get/set worksheet visible state
wb_sheet_data R6 class for a Workbook Hyperlink
wb_to_df Create Dataframe from Workbook
wb_ungroup_cols Group Rows and Columns
wb_ungroup_rows Group Rows and Columns
wb_unmerge_cells Worksheet cell merging
wb_update_table update a data_table
wb_workbook Create a new Workbook object
wb_ws Get a worksheet from a 'wbWorkbook' object
workbook_grouping Group Rows and Columns
write_comment Create, write and remove comments
write_data Add data to a worksheet
write_datatable Write to a worksheet as an Excel table
write_file write xml file
write_formula Write a character vector as an Excel Formula
write_xlsx write data to an xlsx file
ws_cell_merge Worksheet cell merging
ws_page_setup Set page margins, orientation and print scaling

-- X --

xl_open Open a Microsoft Excel file (xls/xlsx) or an openxlsx2 wbWorkbook
xl_open.default Open a Microsoft Excel file (xls/xlsx) or an openxlsx2 wbWorkbook
xl_open.wbWorkbook Open a Microsoft Excel file (xls/xlsx) or an openxlsx2 wbWorkbook
xml_add_child append xml child to node
xml_attr xml_node
xml_attr_mod adds or updates attribute(s) in existing xml node
xml_node xml_node
xml_node_create create xml_node from R objects
xml_node_name xml_node
xml_rm_child remove xml child to node
xml_value xml_node

-- misc --

+.fmt_txt format strings independent of the cell style.