Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试打开在 R 中创建的 Excel 工作簿时出现损坏错误。我尝试使用 .xlsx 和 .xls 扩展名,但都没有成功!
我用来做这一切的代码是:
wb <- loadWorkbook("RCreated.xls", create = TRUE); saveWorkbook(wb) createSheet(wb, name = "First")
帮助!
在保存工作簿之前创建工作表。