DEPRECATED. Use names().

sheets(wb)

Arguments

wb

A workbook object

Value

Name of worksheet(s) for a given index

Details

DEPRECATED. Use names()

See also

names() to rename a worksheet in a Workbook

Author

Alexander Walker

Examples


## Create a new workbook
wb <- createWorkbook()

## Add some worksheets
addWorksheet(wb, "Worksheet Name")
addWorksheet(wb, "This is worksheet 2")
addWorksheet(wb, "The third worksheet")

## Return names of sheets, can not be used for assignment.
names(wb)
#> [1] "Worksheet Name"      "This is worksheet 2" "The third worksheet"
# openXL(wb)

names(wb) <- c("A", "B", "C")
names(wb)
#> [1] "A" "B" "C"
# openXL(wb)