Learn R Programming

openxlsx2 (version 0.7)

wb_update_table: update a data_table

Description

update a data_table

Usage

wb_update_table(wb, sheet = current_sheet(), dims = "A1", tabname)

Arguments

wb

workbook

sheet

a worksheet

dims

cell used as start

tabname

a tablename

Details

Be aware that this function does not alter any filter. Excluding or adding rows does not make rows appear nor will it hide them.

Examples

Run this code
wb <- wb_workbook()$add_worksheet()$add_data_table(x = mtcars)
wb$update_table(tabname = "Table1", dims = "A1:J4")

Run the code above in your browser using DataLab