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:
Add -fmarkdown-implicit_figures
to your pandoc
call to disable the implicit figure extension which will, in turn, disable the "Figure # : xyz" labeling.
system(paste("pandoc -V geometry:margin=0.7in -fmarkdown-implicit_figures -o", path, "/file_name", ".pdf ", "file_Rmd", ".md" ,sep=""))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With