Just a wrapper of wb$copy()
copyWorkbook(wb)
wb | A workbook object |
---|
Workbook
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)#> [1] "Sheet1"#> [1] "Sheet1"#> character(0)