{
  "title": "My new favorite (and probably overused) #rstats #xaringan party trick is to use knitr::include_url(\"link_to_my_own_slides\") to show a past/future slide FROM THE SAME slide deck in another slide 🤯 Makes it easier to show how to do side-by-side code/plot slides. https://t.co/zh1foRWToT",
  "date": "2018-12-20"
}

# blogdown

> **Samuel** (@samuelgnz_; 11/2): Aprendiendo a crear un blog en #R con #blogdown gracias a @renbaires 😁💻 https://t.co/ce7JJWRRds  [&#8618;](https://twitter.com/xieyihui/status/1075379464073289728)

<!-- -->


> **Mara Averick** (@dataandme; 5/1): 🤯 super cool! @sellorm uses magic (+docker, netlify, jenkins…) to keep AB 😎!
"Automating a simple static website: https://t.co/RRectAhMb6" https://t.co/1mycN8pvjI  [&#8618;](https://twitter.com/xieyihui/status/1075588854739013632)

<!-- -->


> **Marc Kissel** (@MarcKissel; 3/1): In theory they took basic stats but probably don’t remember. Been thinking of teaching how to record data (https://t.co/KqAQ3vg353), Version control with GIT, visualizing data, EDA, etc, and maybe a final data project that they create a website for with R Markdown/Blogdown  [&#8618;](https://twitter.com/xieyihui/status/1075423994663395328)

<!-- -->


> **Ming Tang** (@tangming2005; 0/1): A tale of two heatmap functions migrated to blogdown https://t.co/8zgFOBYdZY #rstats  [&#8618;](https://twitter.com/xieyihui/status/1075435484598427648)

<!-- -->


> **Michael Johnson** (@data_mike_j; 0/0): @alexhanna Blogdown+Hugo+ netlify  [&#8618;](https://twitter.com/xieyihui/status/1075594904904974336)

<!-- -->


# bookdown

> **Scott B. Weingart 🤹** (@scott_bot; 2/2): @veek @cliotropic @pmhswe @kfitz I'd now use a pipeline like Word (or whatever the original form is) to pandoc to some sort of flat file web generator, like Jekyll or Hugo or bookdown. Though admittedly much more difficult to learn in the short term, it'd pay off in the long term for preservation &amp; portability.  [&#8618;](https://twitter.com/xieyihui/status/1075362639646244865)

<!-- -->


> **Grant McDermott** (@grant_mcdermott; 2/0): @nickchk @causalinf I'm still a fan of the side-by-side approach. But agree that a code-folding option with the sequential approach is cool. There's native support for this in Rmarkdown/bookdown: https://t.co/jTiRsVli3r https://t.co/AUFOi2naLP  [&#8618;](https://twitter.com/xieyihui/status/1075492078073786369)

<!-- -->


> **Grant McDermott** (@grant_mcdermott; 2/0): @causalinf 1) You can write the whole book in RMarkdown w/ the (amazing) bookdown package: https://t.co/6Fk7xPC7AK
2) You can call both R (obvs) &amp; Stata code in RMarkdown. Latter thanks to RStata package: https://t.co/tw5D9rReEZ
3) I think you can render R &amp; Stata code chunks side side.  [&#8618;](https://twitter.com/xieyihui/status/1075442606992060417)

<!-- -->


> **Shane Conway** (@statalgo; 1/0): @AllenDowney Bookdown in RStudio is wonderful to use.  [&#8618;](https://twitter.com/xieyihui/status/1075590088027975681)

<!-- -->


> **しばた** (@ooSHIBATAoo; 1/0): 公開用アドレスが変更になりました。
https://t.co/yj7xaL9fEb  [&#8618;](https://twitter.com/xieyihui/status/1075510594042613760)

<!-- -->


> **Joel Nitta** (@joel_nitta; 1/0): #bookdown PSA: when referencing tables with \@ref(tab:my_table), my_table needs to be both the name of chunk AND you have to make the table with kable(caption = "something"). No kable caption, no cross-referencing.  [&#8618;](https://twitter.com/xieyihui/status/1075273308730318848)

<!-- -->


> **Achmad Syahrul Choir** (@madsyair; 0/0): https://t.co/tUkchQCtxV  [&#8618;](https://twitter.com/xieyihui/status/1075292769327865856)

<!-- -->


# knitr

> **Alison Hill** (@apreshill; 135/26): My new favorite (and probably overused) #rstats #xaringan party trick is to use knitr::include_url("link_to_my_own_slides") to show a past/future slide FROM THE SAME slide deck in another slide 🤯
>
Makes it easier to show how to do side-by-side code/plot slides. https://t.co/zh1foRWToT  [&#8618;](https://twitter.com/xieyihui/status/1075406281370873857)

<!-- -->


> **Alison Hill** (@apreshill; 1/0): @TaperaTinashe Yes- with revealjs/xaringan you can link to a slide using a number, or you can name a slide (sample .Rmd below):
>
---
name: agenda
>
# Agenda
>
our plan is...
>
---
>
recall our agenda is....
>
\`\`\`{r echo = FALSE}
knitr::include_url("path/slides#agenda") # or #1 for slide 1
\`\`\`
---  [&#8618;](https://twitter.com/xieyihui/status/1075515466943148032)

<!-- -->


> **Daniel Smith** (@TheDanInDanger; 1/0): @PogrebnyakE @AllenDowney I think RStudio *books have knitR dependencies?  [&#8618;](https://twitter.com/xieyihui/status/1075254891227025408)

<!-- -->


> **Evgeny Pogrebnyak** (@PogrebnyakE; 1/0): @AllenDowney Surprised knitr/sweave/pweave did not surface for authoring. Are they just good for single documents, not the books?  [&#8618;](https://twitter.com/xieyihui/status/1075252646905372672)

<!-- -->


> **Achmad Syahrul Choir** (@madsyair; 0/0): https://t.co/8ZY1mdn2MQ  [&#8618;](https://twitter.com/xieyihui/status/1075290793324101632)

<!-- -->


> **Achmad Syahrul Choir** (@madsyair; 0/0): https://t.co/5tGqyKX4fA  [&#8618;](https://twitter.com/xieyihui/status/1075289959286824960)

<!-- -->


> **Brandon Greenwell** (@bgreenwell8; 0/0): This also made me think harder about #knitr chuck labels!  [&#8618;](https://twitter.com/xieyihui/status/1075241388218957824)

<!-- -->


# tinytex

> **Peter Smith** (@JustAnotherCog; 0/0): @RobertTalbert @sagemath Tinytex?  [&#8618;](https://twitter.com/xieyihui/status/1075496241755123713)

<!-- -->


# xaringan

> **Alison Hill** (@apreshill; 135/26): My new favorite (and probably overused) #rstats #xaringan party trick is to use knitr::include_url("link_to_my_own_slides") to show a past/future slide FROM THE SAME slide deck in another slide 🤯
>
Makes it easier to show how to do side-by-side code/plot slides. https://t.co/zh1foRWToT  [&#8618;](https://twitter.com/xieyihui/status/1075406281370873857)

<!-- -->


> **Alison Hill** (@apreshill; 1/0): @TaperaTinashe Yes- with revealjs/xaringan you can link to a slide using a number, or you can name a slide (sample .Rmd below):
>
---
name: agenda
>
# Agenda
>
our plan is...
>
---
>
recall our agenda is....
>
\`\`\`{r echo = FALSE}
knitr::include_url("path/slides#agenda") # or #1 for slide 1
\`\`\`
---  [&#8618;](https://twitter.com/xieyihui/status/1075515466943148032)

<!-- -->


> **Brandon Greenwell** (@bgreenwell8; 1/0): Yes, this was something I learned and truly appreciated recently with my last class using #xaringan based slides! https://t.co/pL9PTyBZny  [&#8618;](https://twitter.com/xieyihui/status/1075241040074993664)

<!-- -->


> **Matheus Mendes** (@MendesMatheus27; 0/0): @Luan707S @PatrickBelmino0 @denzelcurry @vsvp6ix Tu que é o xaringan  [&#8618;](https://twitter.com/xieyihui/status/1075442153260765184)

<!-- -->


# yihui.name

> **Achmad Syahrul Choir** (@madsyair; 0/0): https://t.co/sP8TNBVnBM  [&#8618;](https://twitter.com/xieyihui/status/1075289225401004032)

<!-- -->


