Replies: 1 comment 1 reply
-
Compiling multiple R Markdown or Quarto documents into a single notebook entry or blog post while retaining a structured and organized file system can be a bit tricky, but it's definitely doable with some workarounds. Here are some suggestions you might find helpful:
This way, when you knit the master document, all the child documents get rendered into a single HTML document.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to have an R Project rendered as a single blog post, but the issue is that we generally organize our R Projects in the following fashion:
Each Rmd file has a corresponding output directory of the same name.
So, if I followed this format (which I'd like to do), I'd have a
.qmd
file (instead of.Rmd
file) for each type of analysis I'd run.In the current usage of Quarto for our notebooks, each
.qmd
file would get rendered as separate notebook posts.However, I'd like a single notebook post, but with the ability to go through all the analyses performed in the R Project.
I think the solution is to set up the R Project as a Quarto Book. This allows defining "chapters" and the resulting rendered HTML files show a table of contents across the multiple
.qmd
files.Unfortunately, it seems like when the Quarto Book is rendered in the notebook, each individual
.qmd
file gets rendered as it's own notebook entry.Anyone have any thoughts on how to get a Quarto Book to function as a single notebook entry?
Beta Was this translation helpful? Give feedback.
All reactions