I am building a PDF from several RMarkdown files using Bookdown in Rstudio. In the process, Bookdown first compiles the different Rmd files into one big Rmd file (_main.Rmd), and then knits it into a PDF. If no errors are thrown, this temporary _main.Rmd file is usually deleted. I would like to keep the _main.Rmd file even when the file has successfully knitted into a PDF.
Is there any option I can add to _bookdown.yml to achieve this?
I just added this feature in the development version of bookdown , you may try:
remotes::install_github('rstudio/bookdown')
and set delete_merged_file: false
in the config file _bookdown.yml
.
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.