flextable 中的问题:函数:save_image

我在将 flextable 表保存为图像时遇到问题,由于列宽在 png 格式时不受尊重,我已经搜索并尝试了几种方法但都不起作用,我以下面的代码为例

library(tidyverse)
library(flextable)
library(webshot)

mtcars<-merge(mtcars,mtcars,by="mpg")

cars <- flextable(mtcars) %>%
width(1,width=5) %>%
theme_box()
cars

save_as_image(cars,path="../pba7.png",webshot = "webshot")
zhu_yun_yun 回答:flextable 中的问题:函数:save_image

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3204.html

大家都在问