r-markdown - 在 html 中使用 pdf 参数调用 knitr::include_graphics() 时出现“无法加载插件”
问题描述
我试图在 r-markdown 中包含一个 pdf 图形。奇怪的是,Pandoc 到 pdf 的输出完美无缺。html 输出会写入Couldn't load plugin
,除此之外不显示任何内容。
这就是我试图调用该函数的方式:
knitr::include_graphics("plots1.pdf")
有什么可疑的吗?
解决方案
推荐阅读
- reactjs - 显示一个反应占位符骨架,直到图像完全加载到页面中
- akka - Akka 2.6 如何在 Akka Typed 中阅读“死信”?
- python - 使用 os.walk 传递变量
- kubernetes - 动态创建 configmap yaml 文件
- android - 如何在中心制作 recyclerView 项目?
- scala - 在scala中递归读取文件
- python - 使用 windows 连接 PySpark 行
- javascript - 如何仅在对象内的所有 id 完成获取后才设置状态
- javascript - 需要帮助将多个音频文件静音
- python - 如何在 AzureStorageCheckpointLeaseManager 类中提供容器的完整路径