Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

copyWorkbook

Copy a Workbook object.


Description

Just a wrapper of wb$copy()

Usage

copyWorkbook(wb)

Arguments

wb

A workbook object

Value

Workbook

Examples

wb <- createWorkbook()
wb2 <- wb ## does not create a copy
wb3 <- copyWorkbook(wb) ## wrapper for wb$copy()

addWorksheet(wb, "Sheet1") ## adds worksheet to both wb and wb2 but not wb3

names(wb)
names(wb2)
names(wb3)

openxlsx

Read, Write and Edit xlsx Files

v4.2.3
MIT + file LICENSE
Authors
Philipp Schauberger [aut, cre], Alexander Walker [aut], Luca Braglia [ctb], Joshua Sturm [ctb]
Initial release
2020-10-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.