我在网站上找的办法,生成table one,可以在r的界面看到table one,最后一步需要把它生成word格式,输入下面的命令后,出现下面标红的错误代码。请懂的老师帮助,谢谢
docx( ) %>%
+ addFlexTable(table1 %>%
+ FlexTable(header.cell.props = cellProperties( background.color = "#003366"),
+ header.text.props = textBold( color = "white" ),
+ add.rownames = TRUE ) %>%
+ setZebraStyle( odd = "#DDDDDD", even = "#FFFFFF" ) ) %>%
+ writeDoc(file = "table1.docx”)
Error in eval(substitute(expr), envir, enclos) :
Fontconfig error: unable to match font pattern
|