I use xaringan
R package for making presentations.
I have following directory structure
└── presentations
├── 01_intro
| ├── intro.Rmd
| └── intro.html
└── 02_test
| ├── test.Rmd
| └── test.html
└── 03_new
├── new.Rmd
└── new.html
For the new presentation (03_new), I would like to include slide number 3 from the intro slide (01_intro).
This could be done by:
<iframe src="../01_intro/intro.html#3"></iframe>
or,knitr::include_url("../01_intro/intro.html#3")
Question
Is there a way to do that using {r child='../01_intro/intro.Rmd{slide#}'}
?
OR
Is there a way to do that using {r child='../01_intro/intro.Rmd{slide-name}'}
?
Reasons I need a solution for this:
- Easy to reuse, and I have a track of slides.
- This would prevent me to work again on the same material.
This would be very beneficial when I have to make a new presentation from a number of existing presentations. I just input a specific section into a new one, then copy-paste or screenshot.