I don't know how to remove Figure 1:
as seen bellow from the generated pdf document: (using rmarkdown; knitr; pandoc). I have a .Rmd file > .md > .pdf
I generate the pdf in R console as:
system(paste("pandoc -V geometry:margin=0.7in -o", path, "/file_name", ".pdf ", "file_Rmd", ".md" ,sep=""))
Simple example:
```{r}
plot(1:20)
```
Output:
在您的pandoc
调用中添加-fmarkdown-implicit_figures
以禁用隐式图形扩展,这将禁用“图#:xyz”标记。
system(paste("pandoc -V geometry:margin=0.7in -fmarkdown-implicit_figures -o", path, "/file_name", ".pdf ", "file_Rmd", ".md" ,sep=""))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.