使用 kable 时出错 phantomjs 或 ghostscript 的问题?

问题描述

我正在尝试在 R 中创建一个表。我使用 mtcars 作为 ax 示例数据集。我不断收到以下错误。我真的不知道如何解决这个问题以及将某些文件或程序移动到哪里(ghostscript、magick、phantomjs ..)。有没有简单的解决办法?我没有使用 Markdown。

kable(rawCSV,"latex",booktabs = T) %>%
  kable_styling(latex_options = c("solid","scale_down")) %>%
  as_image()
  save_kable(file="table.pdf")


Error in save_kable_latex(x,file,latex_header_includes,keep_tex,density) : 
  We hit an error when trying to use magick to read the generated PDF file. You may check your magick installation and try to use magick::image_read to read the PDF file manually. It's also possible that you didn't have ghostscript installed.

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)