Include Rmd appendix after references
问题 My question is linked to this one. I wish to include my appendix after my references so I am using the after_body tag in my yaml, however I need to be able to knit my appendix.Rmd file. I have tried the following: after_body: "`r knitr::knit('appendix.Rmd')`" however this attempts to knit the appendix.Rmd file before the actual report and therefore fails as it does not have the required libraries or objects in memory. 回答1: In order to have appendices after the references, you simply include a