![](/img/trans.png)
[英]flextable::save_as_image() includes path to image when Rmarkdown knit to Word
[英]How to display special characters in flextable save_as_image routine
library(flextable)
library(officer)
ft <- flextable(
head(mtcars),
col_keys = c("mpg"))
ft <- set_header_labels(ft, mpg = "n\u00b0")
ft
library(webshot)
if( require("webshot") ){
save_as_image(x = ft, path = "./test.png")
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.