
Last chance! 50% off unlimited learning
Sale ends in
set a particular sheet selected when workbook will be edited.
sheet_select(x, sheet)
rxlsx object
sheet name
# NOT RUN {
my_ws <- read_xlsx()
my_pres <- add_sheet(my_ws, label = "new sheet")
my_pres <- sheet_select(my_ws, sheet = "new sheet")
print(my_ws, target = tempfile(fileext = ".xlsx") )
# }
Run the code above in your browser using DataLab