简体   繁体   English

R Markdown 在 include_graphics 后添加图像标签

[英]R Markdown adding image tags after include_graphics

I am using R Markdown to include some images into a PDF.我正在使用 R Markdown 将一些图像包含到 PDF 中。 Everything is working fine, but there is a 5.bb after every single jpeg insert.一切正常,但每个 jpeg 插入后都有一个 5.bb。 I think it might be an image tag, but am unsure.我认为它可能是一个图像标签,但我不确定。 Here is the code I am using and screen shot of the error:这是我正在使用的代码和错误的屏幕截图:

library(knitr)
myimages<-("~/Dropbox/LifeExp/graphics/life-page8 5.jpeg")
include_graphics(myimages)

图片标签?

Try delete blank spaces in name file and code chunk.尝试删除名称文件和代码块中的空格。 Use "_" instead.改用“_”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM