I’m writing a report in Rmarkdown language with Rstudio, and then I convert the md file (not the Rmdfile) into doc format using pandoc.
Each figure has a caption in the output doc file: “plot of chunk unnamed-chunk-xxx”. Of course I can modify this caption in the mdfile, but I wonder whether it is possible to directly modify it in the Rmdfile.
I’m writing a report in Rmarkdown language with Rstudio, and then I convert the
Share
Ooops I have found a solution: option
fig.capof the R chunk.The caption appears in the Word file after conversion, but it does not appear in the html file.