报错:Error in .jcall(cell, "V", "setCellValue", value) : method setCellValue with signature ([D)V not found
解决方法:用as.data.frame将数据集转成dataframe格式,再用write.xlsx
write.xlsx(as.data.frame(),...)
原因:The input file must be a data.frame
and not a tibble in write.xlsx