0

当我使用打开的 xlsx 包在 R 中导出 excel 文件时

如果我打开 excel 文件,则会显示以下消息:

"We found a problem with some content <nnnn>.xlsx. Do you want us to try and 
 recover as much as we can?"

我认为这个问题来自 Openxlsx 包,

这是我的代码

 openxlsx::write.xlsx( df, file = "NG.xlsx" , sheetName = "df" , col.names = 
 TRUE , row.names = FALSE )

我如何在 R 中解决这个问题?

4

0 回答 0