{
  "title": "xaringan protip! Use the `ref.label` knitr chunk option to decouple your code and outputs. Show #rstats code and ggplot side by side or add custom CSS for picture-in-picture. Also great for showing code and results on separate slides. https://t.co/oL27L8ViYN https://t.co/y2Woj50Ugo",
  "date": "2018-08-18"
}

# blogdown

> **Katie Scranton** (@DrScranto; 18/2): Mark your calendar for 9/13: come build an awesome, custom website with #rstats, #blogdown, @RLadiesPhilly and me!! https://t.co/0PWuhmWCUI  [&#8618;](https://twitter.com/xieyihui/status/1030508682302418944)

<!-- -->


> **Steph Locke** (@TheStephLocke; 16/1): Have a @GoHugoIO or #blogdown site hosted on @Netlify? Schedule daily builds by:
1. Creating a Build Hook in netlify settings
2. Create a zap on @zapier, trigger: schedule, step: webhook
3. Configure webhook to be called by POST, paste in URL for Build Hook
>
Et voila!
>
#microblog https://t.co/GHmpOT6d6I  [&#8618;](https://twitter.com/xieyihui/status/1030422527930183680)

<!-- -->


> **Thomas Lo Russo** (@thlorusso; 14/8): Ever dreamed of having your own datablog or website and being able to publish R-code &amp; R-generated outputs automatically to it?
>
At the next @ZurichRUsers - meetup on sept. 3 I'll give an intro to #blogdown (showcase: https://t.co/BDBRrrrajX):
>
https://t.co/mBXHG2KWoY
>
#rstats  [&#8618;](https://twitter.com/xieyihui/status/1030444501586915329)

<!-- -->


> **Ariel Muldoon** (@aosmith16; 9/4): I've used internal links in a #blogdown post before, but it wasn't until today that I realized I can use this approach to make headers into links so I can send someone directly to a post section without inserting a TOC. 👍 #rstats
>
# [My relevant header](#my-relevant-header)  [&#8618;](https://twitter.com/xieyihui/status/1030523174968950785)

<!-- -->


> **Dr Geraldine Klarenberg** (@DinaKla; 9/4): I'm doing a thing on reproducible research and version control this afternoon 👩‍💻 but we also have other awesome #handson sessions on #bindeR #rstats #lubridate #blogdown by @Hao_and_Y @justinjmillar @Miao_the_Sun @kokbent OH AND A SOCIAL AT 6 PM @cypressandgrove !! 👩‍💻🍻 https://t.co/Jix9czpgDe  [&#8618;](https://twitter.com/xieyihui/status/1030476737270956032)

<!-- -->


> **Rich Majerus** (@richmajerus; 8/2): Thanks for your help. Top mentions seem to be: exploratory data analysis (tidyverse), visualization (ggplot2), interactivity (shiny), reproducibility (rmarkdown), deliverable options (bookdown, blogdown, etc.), easier setup (https://t.co/5HQns0GvYX), and syntax clarity (%&gt;%). https://t.co/Ele8MQ8uWL  [&#8618;](https://twitter.com/xieyihui/status/1030559472379457536)

<!-- -->


> **RitaX** (@rxxqx; 7/0): I was excited to create a website in R using blogdown but then I ended up coding the dang thing in html anyway https://t.co/2oblydY5ST  [&#8618;](https://twitter.com/xieyihui/status/1030531918566060032)

<!-- -->


> **Amy Goodwin Davies** (@ajgdav; 3/0): Excited to learn how to use #blogdown w/ @DrScranto at next month's (09/13) @RLadiesPhilly meetup! https://t.co/UpGYfXK4A8  [&#8618;](https://twitter.com/xieyihui/status/1030524717067890690)

<!-- -->


> **Emil Hvitfeldt** (@Emil_Hvitfeldt; 2/2): What are common practices of updating old blogposts to reflect changes in new and better code? Should you include the old code for references? #rstats #blogdown  [&#8618;](https://twitter.com/xieyihui/status/1030597741431275520)

<!-- -->


> **UF Carpentries** (@UFCarpentries; 2/1): Mini-tutorials are now. @justinjmillar walking us through setting up a website with blogdown in CSE 221 #ResBazUF18 https://t.co/wxc7fU7Pud  [&#8618;](https://twitter.com/xieyihui/status/1030531556165730304)

<!-- -->


> **Alex Albright** (@AllbriteAllday; 0/1): Alright, I'm doing it!! But... I am stuck on how to make new menu items. I edited the config.toml file as the blogdown book says (source: https://t.co/x9P7OCyGw9), but no new menu items are appearing. I'm using the tale theme. Any thoughts? cc: @xieyihui #rstats #blogdown  [&#8618;](https://twitter.com/xieyihui/status/1030648123989876736)

<!-- -->


> **Peter Baumgartner** (@pbaumgartner; 0/0): Using Hugo themes with #blogdown - my lessons learned - guide lines: How to choose a Hugo theme? How to start with a theme? @GoHugoIO https://t.co/LOB9Urno8h https://t.co/GmacDOv6vp  [&#8618;](https://twitter.com/xieyihui/status/1030420287899222016)

<!-- -->


# bookdown

> **Catriona Munro** (@CatMunro_; 8/2): I'm sending my PhD thesis to my committee today (in advance of my defense on August 31). While I wait for bookdown to build my thesis, I wanted to share some thoughts on this process so far, as well as advice I was given that I found useful (a thread)  [&#8618;](https://twitter.com/xieyihui/status/1030563029098934272)

<!-- -->


> **Rich Majerus** (@richmajerus; 8/2): Thanks for your help. Top mentions seem to be: exploratory data analysis (tidyverse), visualization (ggplot2), interactivity (shiny), reproducibility (rmarkdown), deliverable options (bookdown, blogdown, etc.), easier setup (https://t.co/5HQns0GvYX), and syntax clarity (%&gt;%). https://t.co/Ele8MQ8uWL  [&#8618;](https://twitter.com/xieyihui/status/1030559472379457536)

<!-- -->


> **Peter Baumgartner** (@pbaumgartner; 5/6): Physik Libre – zeigen was heute schon mit Büchern möglich ist! Ein erfolgreiches #OER Buchprojekt mit #bookdown  Interview mit Autor und #Lehrer Michael Rundel, https://t.co/wvkhhMLrRD https://t.co/AvW07Mt1vO #edutech https://t.co/MHxO30eH8U  [&#8618;](https://twitter.com/xieyihui/status/1030418157993959424)

<!-- -->


> **Zach Bogart** (@zachbogart; 2/1): I've been working over the summer with @jtrnyc on a resource for a #dataviz course @Columbia and it’s ready to publish! Presenting https://t.co/gMMOFWc5Ec, made with #bookdown. Come learn some #rstats! 
>
https://t.co/8O89pevmi0 https://t.co/cKlOaTPGtF  [&#8618;](https://twitter.com/xieyihui/status/1030484398515412994)

<!-- -->


> **Catriona Munro** (@CatMunro_; 2/0): 2/6 If you're using R anyway, and even if you're not, Bookdown is amazing and I'm very happy with the product: https://t.co/5DJM3VA0x0 If, like me, you are comfortable with markdown and knitr, build in time to learn LaTeX for customization.  [&#8618;](https://twitter.com/xieyihui/status/1030563031472898049)

<!-- -->


> **Catriona Munro** (@CatMunro_; 1/0): 3/6 Don't put off all of the little formatting things to the end - they add up!  For example, I *really* wish I realised earlier that citations in the bookdown pdf are formatted in the order you put them in, and aren't re-formatted in name/date order!  [&#8618;](https://twitter.com/xieyihui/status/1030563033049952256)

<!-- -->


> **Suthira Owlarn** (@S_Owla; 1/0): @BecomingDataSci and many other languages! :)
>
https://t.co/nCpKb0DaCX https://t.co/q3R5SV9P4p  [&#8618;](https://twitter.com/xieyihui/status/1030473934070792192)

<!-- -->


> **Alex Albright** (@AllbriteAllday; 0/1): Alright, I'm doing it!! But... I am stuck on how to make new menu items. I edited the config.toml file as the blogdown book says (source: https://t.co/x9P7OCyGw9), but no new menu items are appearing. I'm using the tale theme. Any thoughts? cc: @xieyihui #rstats #blogdown  [&#8618;](https://twitter.com/xieyihui/status/1030648123989876736)

<!-- -->


> **Ben Anderson** (@dataknut; 0/1): really don't appreciate randomly non-reproducible #rstats #rmarkdown #knitr #bookdown glitches on a #fridayAfternoon  [&#8618;](https://twitter.com/xieyihui/status/1030314954115543040)

<!-- -->


> **Atsushi (Atusy)** (@Atsushi776; 0/1): @yutannihilation parameterized notebookよさそうですよね! R Markdown: The Defenitive Guide を読んで使ってみようと思ったところです。 https://t.co/6nYHDdSR8f  [&#8618;](https://twitter.com/xieyihui/status/1030309762896936960)

<!-- -->


> **Alexandra Kupera** (@avkupera; 0/0): https://t.co/w7mQVPmv73  [&#8618;](https://twitter.com/xieyihui/status/1030351301547356160)

<!-- -->


# knitr

> **Garrick Aden-Buie** (@grrrck; 68/18): xaringan protip! Use the `ref.label` knitr chunk option to decouple your code and outputs. Show #rstats code and ggplot side by side or add custom CSS for picture-in-picture. Also great for showing code and results on separate slides.
https://t.co/oL27L8ViYN https://t.co/y2Woj50Ugo  [&#8618;](https://twitter.com/xieyihui/status/1030292012040441856)

<!-- -->


> **Colin Fay 🤘** (@_ColinFay; 13/4): #RStats 
>
Create GIFs with gifski in knitr Documents
>
https://t.co/IfWehYRTf5  [&#8618;](https://twitter.com/xieyihui/status/1030396350146523136)

<!-- -->


> **Garrick Aden-Buie** (@grrrck; 4/1): @nj_tierney 😄 I'm glad you asked! I buried another time-saving tip in that post -- custom knitr chunk options via knit_hooks(). Like in this example, I can replace four chunk options with one `fig.fill_screen=TRUE`. https://t.co/HEtUt5Beij https://t.co/YOGMd5W4GF  [&#8618;](https://twitter.com/xieyihui/status/1030457782099697664)

<!-- -->


> **Catriona Munro** (@CatMunro_; 2/0): 2/6 If you're using R anyway, and even if you're not, Bookdown is amazing and I'm very happy with the product: https://t.co/5DJM3VA0x0 If, like me, you are comfortable with markdown and knitr, build in time to learn LaTeX for customization.  [&#8618;](https://twitter.com/xieyihui/status/1030563031472898049)

<!-- -->


> **Nathan Brouwer** (@lobrowR; 1/0): @spiderdayNight @BrianTrevelline @BrandonHoenig @jmheberling @yusan_yang cool, thanks!  need to make it so here() downloads automatically.  
>
here is a good package for anything related to markdown or when you load external data.  i forget how it happens but I think the way knitr works can mess up file paths and working directorys  [&#8618;](https://twitter.com/xieyihui/status/1030469015867666432)

<!-- -->


> **Ben Anderson** (@dataknut; 0/1): really don't appreciate randomly non-reproducible #rstats #rmarkdown #knitr #bookdown glitches on a #fridayAfternoon  [&#8618;](https://twitter.com/xieyihui/status/1030314954115543040)

<!-- -->


> **Brandon Hurr** (@bhive01; 0/0): @baptiste_auguie It happens. I just felt bad that I missed your knitr comments and ray traced land stuff and thought I messed up.  [&#8618;](https://twitter.com/xieyihui/status/1030641311752192001)

<!-- -->


> **نور سعيد الشاخوري** (@nouralshakhouri; 0/0): Create GIFs with gifski in knitr Documents: https://t.co/Vdd7b70I56  [&#8618;](https://twitter.com/xieyihui/status/1030349758878105600)

<!-- -->


# xaringan

> **Garrick Aden-Buie** (@grrrck; 68/18): xaringan protip! Use the `ref.label` knitr chunk option to decouple your code and outputs. Show #rstats code and ggplot side by side or add custom CSS for picture-in-picture. Also great for showing code and results on separate slides.
https://t.co/oL27L8ViYN https://t.co/y2Woj50Ugo  [&#8618;](https://twitter.com/xieyihui/status/1030292012040441856)

<!-- -->


> **Garrick Aden-Buie** (@grrrck; 18/5): @EvaMaeRey This thread was the push I needed to finally finish writing up a blog post about this trick. Thanks for motivating me! https://t.co/oL27L8ViYN  [&#8618;](https://twitter.com/xieyihui/status/1030287669169999872)

<!-- -->


> **Colin Fay 🤘** (@_ColinFay; 8/1): #HowTo 
>
Decouple Code and Output in xaringan slides by @grrrck 
>
https://t.co/9Jh2jP5G7f https://t.co/e3K9PZ6CZc  [&#8618;](https://twitter.com/xieyihui/status/1030371262625968128)

<!-- -->


> **Xavier** (@xvrdm; 3/0): Great tips to improve your Xaringan presentations 🙌 ! https://t.co/4CqRtUi3Io  [&#8618;](https://twitter.com/xieyihui/status/1030379985201229824)

<!-- -->


> **Steffi LaZerte** (@steffilazerte; 2/3): Oh and if you like #rstats #xaringan slides, feel free to check out the Rmd source for my presentation: https://t.co/T4R12eCdlu  [&#8618;](https://twitter.com/xieyihui/status/1030488696930414592)

<!-- -->


> **fernandin** (@fernandinemici; 2/0): olho flamejante
xaringan lá de Xangai  [&#8618;](https://twitter.com/xieyihui/status/1030636488877334528)

<!-- -->


> **Murray David Neuzerling** (@mdneuzerling; 2/0): @grrrck I saw this tweet literally 10 minutes before giving a presentation made with Xaringan, in which I had copied code with one chunk eval = FALSE and the other with echo = FALSE. This is awesome. Thank you!  [&#8618;](https://twitter.com/xieyihui/status/1030596493684559872)

<!-- -->


# yihui.name

> **Colin Fay 🤘** (@_ColinFay; 13/4): #RStats 
>
Create GIFs with gifski in knitr Documents
>
https://t.co/IfWehYRTf5  [&#8618;](https://twitter.com/xieyihui/status/1030396350146523136)

<!-- -->


> **(((JReuben1)))** (@jreuben1; 2/0): An animation of the Gradient Descent Algorithm https://t.co/DaIcpc9HhQ  [&#8618;](https://twitter.com/xieyihui/status/1030341664148217856)

<!-- -->


> **niszet📚技術書典5** (@niszet0; 0/0): https://t.co/cspEpkytXf  [&#8618;](https://twitter.com/xieyihui/status/1030610318236381184)

<!-- -->


> **نور سعيد الشاخوري** (@nouralshakhouri; 0/0): Create GIFs with gifski in knitr Documents: https://t.co/Vdd7b70I56  [&#8618;](https://twitter.com/xieyihui/status/1030349758878105600)

<!-- -->


