R中的Openxlsx包问题

时间:2018-12-03 07:35:42

标签: r excel dataframe openxlsx

当我使用打开的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中的这个问题?

0 个答案:

没有答案