Skip to content

is it possible to run multiple rmd files together

3 messages · Kai Yang, Anders Alexandersson, Calum Polwart

#
Hi Team,I have multiple rmd files (~50) for difference study report. I did try the source command to run them together, but it seems doesn't work.Is there a way to run those rmd files from one script?Thanks,Kai
#
Try the bookdown package:

https://bookdown.org/yihui/bookdown/usage.html

On Wed, Jan 4, 2023 at 11:19 AM Kai Yang via R-help <r-help at r-project.org>
wrote:

  
  
#
I get frustrated by our peers who reply "please provide a worked example"
but OMG... Please provide a worked example!

You can't use:

source("filename.Rmd") as it isn't a simple set of R code.

You can do:

Rmarkdown::render("filename.Rmd")

You can also knit child files. But it is completely unclear what you have
tried, what you want to happen or what your expected outcome is.
On Wed, 4 Jan 2023, 16:19 Kai Yang via R-help, <r-help at r-project.org> wrote: