我有一个包含 4 张工作表的电子表格,当我从 R 导出文件时,我想重命名这些工作表。
我该怎么做 - 我无法下载 XLConnect 库。
这是我到目前为止所拥有的:
sheets <- list(sheet1 = Top_Balances, sheet2 = Over_60, sheet3 = CI, sheet4 = CL)
write_xlsx(sheets, "C:/Users/Desktop/R/April Aging.xlsx")
谢谢!
试试这个,见这里https://github.com/ropensci/writexl/issues/18
write_xlsx(list(sheet1 = Top_Balances, sheet2 = Over_60, sheet3 = CI, sheet4 = CL))