DEPRECATED - Use function 'sheetVisibility()
sheetVisible(wb) sheetVisible(wb) <- value
wb | A workbook object |
---|---|
value | a logical vector the same length as sheetVisible(wb) |
Character vector of worksheet names.
TRUE if sheet is visible, FALSE if sheet is hidden
Alexander Walker
wb <- createWorkbook() addWorksheet(wb, sheetName = "S1", visible = FALSE) addWorksheet(wb, sheetName = "S2", visible = TRUE) addWorksheet(wb, sheetName = "S3", visible = FALSE) sheetVisible(wb)#> Warning: This function is deprecated. Use function 'sheetVisibility()'#> [1] FALSE TRUE FALSEsheetVisible(wb)[1] <- TRUE ## show sheet 1#> Warning: This function is deprecated. Use function 'sheetVisibility()'#> Warning: This function is deprecated. Use function 'sheetVisibility()'sheetVisible(wb)[2] <- FALSE ## hide sheet 2#> Warning: This function is deprecated. Use function 'sheetVisibility()'#> Warning: This function is deprecated. Use function 'sheetVisibility()'