powered by
get or set worksheet names
# S3 method for Workbook names(x)# S3 method for Workbook names(x) <- value
# S3 method for Workbook names(x) <- value
A Workbook object
Workbook
a character vector the same length as wb
wb <- createWorkbook() addWorksheet(wb, "S1") addWorksheet(wb, "S2") addWorksheet(wb, "S3") names(wb) names(wb)[[2]] <- "S2a" names(wb) names(wb) <- paste("Sheet", 1:3)
Run the code above in your browser using DataLab