【R语言】compareGroups包导出报错

想请教一下各位R语言好手,有个问题困扰我很久了,我在使用compareGroups包时,绘制表格使用了分层函数(strataTable)

tab_use<-descrTable(his~sex+age+eth+edu+inc+hbp+dm,data = d,
                    method = c(age=NA),
                    show.all = T) 
use<-strataTable(tab_use, "use")
use

但是用export2xls导出时会报错

Error in export2xls(use, file = "table1_use.xlsx") : 
  x cannot be of class 'cbind.createTable'

请问应该怎么做才能导出呀,还是说就是只能导出成word呀

检查看use结果是什么use构建成功是可以导出的

library(table1)
export2xls(use, file = "table1_use.xlsx")

最后解决了吗?一样的问题,导不出来 唉