2

我有一个包含 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")

谢谢!

4

1 回答 1

2

试试这个,见这里https://github.com/ropensci/writexl/issues/18

write_xlsx(list(sheet1 = Top_Balances, sheet2 = Over_60, sheet3 = CI, sheet4 = CL))
于 2021-06-01T07:13:01.293 回答