Can you believe this coin was rendered entirely in #rstats? In under 10 lines of code? And you can install the package that rendered this (#rayrender) in a single line of code, without worrying about complex build processes or installing requirements manually?



Tyler Morgan-Wall (@tylermorganwall; 24029): Can you believe this coin was rendered entirely in #rstats? In under 10 lines of code? And you can install the package that rendered this (#rayrender) in a single line of code, without worrying about complex build processes or installing requirements manually?

Dr. Ganapathi Pulipaka (@gp_pulipaka; 116106): Best Machine Learning and Data Science #Books 2020. #BigData #Analytics #DataScience #IoT #IIoT #PyTorch #Python #RStats #TensorFlow #JavaScript #ReactJS #CloudComputing #Serverless #DataScientist #Linux #Mathematics #Programming #Coding #100DaysofCode


Danielle Navarro (@djnavarro; 17634): A tidyverse focused course on “robust data science tools” covering data manipulation, data visualisation, an introduction to github and blogdown, as well as programming tutorials that incidentally teach you the basics of making generative artwork! >

Daniel Redondo Sánchez (@dredondosanchez; 322): Parece que me gusta un poco eso de R. #tidyverse #blogdown #rmarkdown #Shiny #ggpplot2 @R_Hisp #knitr #RStudio #git

Emily “Annual Leave” Nordmann (@emilynordmann; 80): Annual leave is proving very exciting, I’ve finally converted my website to blogdown > Website: > Blogdown tutorial: Figuring out auto-deployment via github: Fixing the share buttons:

ajb474 (@ajb474; 50): Finally got my website up and running (almost) to my specs… Check it out and see why I jumped on the blogdown bandwagon! @source_themes #bookdown #rstudio #markdown

Ryan Estrellado (@RyanEs; 30): I worked on my website this weekend! > > #MadeWithAcademic #blogdown

Jose Manuel Vera (@verajosemanuel; 22): Intro to Hugo: The Masterchef of Layouts #RStats

YouCanGradSchool (@can_grad; 20): And hot off the presses comes the episode that everyone has been talking about. > Here we walk through creating a website for free using @rstudio and @Netlify (with a special thank you to @apreshill @xieyihui @ProQuesAsker for their work with blogdown) >

Aimee Schwab-McCoy (@AimeeSMcCoy; 20): @emayfarris I’d add digging into RMarkdown + blogdown and making a portfolio website, especially if she’s already learning R. >

Arif Ali (@arifyali; 10): @BenHanowell Definitely more along the lines of the kind of R markdowns I build. I’ve never really had a use case to go with a blogdown, so initial mockup is similar to the flow of current experience. Trying to get external infra figured out first.

Hanowell (@BenHanowell; 10): @arifyali For what reason did you not go down blogdown/netlift route? I know from your answers to questions about R devops on Amazon email lists that you definitely know your stuff. So I am guessing you have a good reason, and was curious.

Nils Reimer (@reimthyme; 10): @Brooke_Criswell Here’s mine: It’s hosted on Netlify, made with Hugo and Blogdown, and uses a version of the Minimo theme.

tidyverse tweets (@tidyversetweets; 0/1): Netlify fails to deploy blogdown site - Hugo Hallo theme #tidyverse #rstats

tidyverse tweets (@tidyversetweets; 0/1): R DT & blogdown - creating table leads to ‘path too long’ #tidyverse #rstats

tidyverse tweets (@tidyversetweets; 0/1): Blogdown website rendering unformated on github deployment #tidyverse #rstats

tidyverse tweets (@tidyversetweets; 0/1): Image on R Blogdown website page does not show #tidyverse #rstats


David Granjon (@divadnojnarg; 17633): 🗣️ Hi #rstats. During @erum2020_conf , I was asked if my bookdown project about “Advanced Interfaces for Shiny” would be officially published. Today, I am please to announce that it will be published in CRC Press (R series), next year. Big thanks to @crcgrubbsd 🙏

ModernDive (@ModernDive; 6615): Big news! 🆕v1.1.0 is now on & GitHub! > First, our #bookdown #rmarkdown source code was cleaned, commented & clarified by @SmithCollegeSDS rising senior @mariumtapal 🧹📝💡😌 > If you’ve ever wanted to build our book, now’s the time!

emre toros (@emretoros; 408): @AliOilhan ben de nacizane şunumu bırakayım, işine yarayan olur belki

Emily Riederer (@EmilyRiederer; 261): @dgkeyes Yep! Here’s a good discussion of why {knitr} natively works that way and various options for changing it if you want to:

Yuki Yanai (矢内 勇生) (@yuki871; 199): とりあえず2Qの授業準備は完了。 > KUT 計量経済学応用 #rmarkdown #bookdown

Kenna (@KDSLehmann; 121): Ok, now #R #Markdown is mysteriously knitting my document into a Skype attachment. Skype isn’t even open when I do this. I had to send it to someone and then download it. I mean, wtf is going on?! #bookdown #mysteries

James Curley (@jalapic; 110): Enjoying putting together with @TyMarie04 a big guide (textbook??) of R materials for my large intro stats class students as well as our upcoming @UTPsychology grad bootcamp. Hadn’t looked at bookdown in a while, but it’s awesome and the syntax is coming back to me!

Fabrizio Gilardi 😷 (@fgilardi; 104): Unsere Medienstudie ist auch als Bookdown verfügbar:

Ming (Tommy) Tang (@tangming2005; 65): a good read #rstats

Dani Arribas-Bel (@darribas; 60): @robinlovelace @martinfleis @RogerBivand @edzerpebesma @MicheleTobias Maybe there’s a plugin for jupyter-book or bookdown that allows you to have R and python cells side by side? I’m thinking of a button that switches between cells in one lang and the other+the option of downloading a notebook w/ each separate? cc’@choldgraf

Ivan Leung (@urganmax; 40): 🙏 @nj_tierney for his #rmarkdown book; TIL about bookdown::pdf_document2, which allows referencing of figures within doc. > Knit doc like a pro, courtesy of shoulders of giants @xieyihui and co. > Book:

Vicky Steeves ( (@VickySteeves; 32): and for the curious, the source code for my course materials is here: > made proudly with bookdown! and hosted on GitLab, a hosting platform that doesn’t fucking work with ICE

Chase Clark (@ChasingMicrobes; 30): @_ColinFay @MilesMcBain @NickForr @UrbanDemog @marskar Agree, but my situation in this case is complicated 😅. But bookdown is totally amenable to being structured as a pkg

Colin Fay 🤘 (@_ColinFay; 30): @ChasingMicrobes @MilesMcBain @NickForr @UrbanDemog @marskar FWIW I do use DESCRIPTION inside bookdown projects, so that I can deploy them using remotes::install_local() on the CI, and also if I need to collaborate with other people, that helps bringing in all the dependencies >

ihaddaden fodil (@moh_fodil; 30): @pedro_tfonseca @rstatstweet For a PhD thesis I’d recommend bookdown

Cem Kafadar (@ckafadar2; 22): Birçok kitabı online okuyabileceğiniz bir site >

Oli Clark (@PsyTechOli; 20): PSA to periodically delete your .aux files if using bookdown/papaja etc. Spent several hours trying to debug yesterday and it turned out that was the solution (sure this ain’t the first time!)

Albert Krewinkel (@kraut0xA; 20): @AriLamstein @jmcastagnetto @rstatstweet This should be it: Default: Bookdown:

tidyverse tweets (@tidyversetweets; 12): How to increase width of the side menu in bookdown #tidyverse #rstats

Deirdre Toher (@dtoher; 11): @t0nyyates is the manual to get started. Don’t try to read it all, just search for what you need as you need it.

Michael Bach (@MichaelBach99; 11): @ceptional @pandoc (1) Yes, you’re on the mark! YESTERDAY (really!) I moved to bookdown. But that does NOT allow good image position control, at least not for docx output (needed by publisher). (2) Surprise: On illusions & visual phenomena – in German :(

Jesus M. Castagnetto (@jmcastagnetto; 11): @AriLamstein @rstatstweet Ah! that bit is handled by knitr ( IIRC. Also, the book at, in particular chapters 17 and 18 might help. Also, because #pandoc is the one that finally does the heavy lifting, check

Colin Fay 🤘 (@_ColinFay; 10): @wojteksupko Yeah I think the thing that gets at me a lot is that RStudio (and today bookdown) create a lot of file “in the background” and if you forget to gitignore them you have to handle unexpected merge conflict

Karandeep Singh (@kdpsinghlab; 10): @queuebit @rdpeng Thanks queuebit! We actually talked about hosting this on But right now just sticking with plain RMarkdown so I can get my son accustomed to the whole idea of code chunks + text. He is excited because we have bookdown installed.

Karandeep Singh (@kdpsinghlab; 10): @TaperaTinashe Thanks Tinashe! We aren’t close to having a GitHub repo yet. Right now teaching my son the basics of RMarkdown and having lots of fun. He has bookdown installed but haven’t yet turned this into a bookdown project. Once we do, will likely host on GitHub.

Paul Yousefi (@PaulYousefi; 10): @jalabrecque I haven’t had a chance to test it out yet, but the redoc package seems like a promising way to incorporate tracked changes into an Rmarkdown workflow: > >

Tom Mock (@thomas_mock; 10): @yannickauff Hi @yannickauff - my immediate thought is are you running the CSS portion in a .rmd file with a .css chunk? >

.salary {
  font-family: Karla, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;


tidyverse tweets (@tidyversetweets; 0/1): Bookdown::gitbook rendering two-level lists to code blocks #tidyverse #rstats

tidyverse tweets (@tidyversetweets; 0/1): How to force bookdown to render document with xelatex engine instead of pdflatex? #tidyverse #rstats

Alex Holcombe (@ceptional; 0/1): @MichaelBach99 @pandoc What about bookdown? And what’s the book? :)


Chris Beeley (@ChrisBeeley; 909): Okay, hands up who didn’t know you could write > library(knitr) options(digits = 2) > In an RMarkdown document to round all the numbers in it to 2 decimal places? > #rstats > 🙋‍♂️

Emily Riederer (@EmilyRiederer; 200): @djnavarro Takes all of the R out of your markdown > {knitr}

Elio Campitelli (@d_olivaw; 81): Getting the correct size of figures using #knitr… does it EVER get any easier? 😭 #rstats

Susannah Cowtan (she/her) (@SuusJC; 43): knitr::knit_expand is my friend for thesis writing. One file per chapter, and a master file with all the latex and knitr preamble and postamble in one place - including my ggplot theme and colour palette. I can comment out all but the chapter I’m working on #rstats #dissertation

Jacqueline Nolis (@skyetetra; 40): @alexpghayes @hadleywickham @lauretig I would have never guessed knitr would have been at the top of this

Claudio Pacheco (@claudiodanielpc; 21): Así quedó con knitr::kable() #R #Rstudio #Stats #Rstats

Cameron Patrick (@camjpatrick; 20): @wfmackey I think I’m about one script file away from knitr::opts_chunk$set(message = F, warning = F)

Gavin Kelly (@gavinpaulkelly; 12): What would make last minute changes to publications using #rstats less stressful would be if #knitr #rmarkdown could tell me if the output of a specific chunk has changed. Possible? Split to separate files?

useR2020muc (@useR2020muc; 11): Methods of report generation in clinical trials using R and knitr by Alessio Maggiorelli >

Gael Varoquaux (@GaelVaroquaux; 10): @modrak_m @ctitusbrown @DocFast @betatim I find Rmarkdown/knitr quite good actually 🙂

Cameron Patrick (@camjpatrick; 10): @thisisdaryn @dgkeyes if you’re using RStudio projects or git, you could also do something like > library(here) knitr::opts_knit$set(root.dir = here()) > understanding the default behaviour is the first step to changing it to whatever works for you!

Jenny Bryan (@JennyBryan; 10): @bmwiernik @dgkeyes knitr has the root.dir option but I ultimately decided that using here to forms paths was a more robust solution, overall > I might be misunderstanding your question, though

Ornella🐎 (@ornscar; 10): @Trifenol knitr::kable?

Stephen Martin (@smartin2018; 10): @dsquintana But yes - I actually did my master’s thesis in Sweave (which has been around for ~ 20 years now! Underrated in psych). Diss. in knitr. Haven’t made the jump to markdown papers, b/c I’m used to latex. Org/babel is similar too (more langs though).

Stephen Martin (@smartin2018; 10): @dsquintana R’s Sweave, knitr-latex, and Emacs org mode:

Rupert Overall (@rupertoverall; 10): @ChrisBeeley Be careful with this. > 1. This is not specific to knitr, it is a base R function and affects the whole session. Default is digits=7 2. It does not round to 2 decimal places but 2 digits (see next reply for examples) 3. You may want to stick with ‘signif’ (not an ‘option’)

Will Landau (@wmlandau; 10): @gdbassett @vega_vis @1null1 @ProjectJupyter I am not aware of a pipeline tool that does this, but most are script-based, so multiple reports plus a Makefile could achieve a similar effect. Knitr has an autodep chunk option, but I’m not sure it computes a DAG.

Andrew Kniss 🌱 (@WyoWeeds; 10): @TShates I’ve been happy with just using kable() from the knitr package, and it works well for exporting into pdf and word in addition to html. > kable(df, row.names=FALSE, colnames=c(“Name”, “Treatment”,“DataColumn1”))

tidyverse tweets (@tidyversetweets; 0/1): mvbutils::foodweb will not render in HTML with Knitr #tidyverse #rstats

tidyverse tweets (@tidyversetweets; 0/1): How to use knitr? #tidyverse #rstats


Brenton Wiernik 🏳️‍🌈 (@bmwiernik; 20): @samuelmehr @GKountourides I’d recommend just removing TeXLive/MacTeX and letting tinytex handle it for you everywhere

Marcus Nunes (@_marcusnunes; 10): @OGabrieltxg TinyTeX porque facilita a minha vida no R. > (ele é baseado no texlive)

でみあん (@hatenademian; 10): 話がガラッと変わって、勉強用のノートをRで作るためにR Markdownを使っていたのですが、その時に起こる色々なトラブルがTex Live 2020を入れたら大体解決してしまいました。 > tinytexだと最小限の手当てなので日本語を扱う際のトラブルが避けられないんですね。

SAM (@samuelmehr; 10): @bmwiernik @GKountourides fully removing tinytex (tlmgr remove --all) and reinstalling it via R seems to have done the trick, though now all my packages are gone 😢

SAM (@samuelmehr; 10): @bmwiernik @GKountourides what’s funny is that tinytex is the distribution I thought I was using in the first place. super weird bug

SAM (@samuelmehr; 10): @bmwiernik @GKountourides totally bizarre that TeX would fritz out on its own, though. literally knitted something yesterday on the same machine with no issues… will try to play around with tinytex later

SAM (@samuelmehr; 10): @bmwiernik @GKountourides I’ve got tinytex installed, is there a way to force R to use that instead of other tex distributions on the same computer?

Brenton Wiernik 🏳️‍🌈 (@bmwiernik; 10): @samuelmehr @GKountourides tinytex is an R package with accompanying lightweight tex distribution

Brenton Wiernik 🏳️‍🌈 (@bmwiernik; 10): @samuelmehr @GKountourides Try installing tinytex and using that instead? It manages packages dynamically


Denis Cohen (@denis_cohen; 241): Hey @MZESUniMannheim Tweeps, I just finished a first version of (more of less matching) MZES-flavored metropolis slide templates for beamer and xaringan. Feedback/suggestions very welcome! > 13

Dr Christian Hoggard (@CSHoggard; 143): Today I’m working on my presentation for @gmm_workshop, all I can say is: > Discover R Markdown… 😍 Discover xaringan… 😍😍 Discover xaringanthemer… 😍😍😍 > #rstats

Gina Reynolds (@EvaMaeRey; 50): the flipbook are built with {flipbookr} and built in @xieyihui’s {xaringan} and with remark.js which are both pretty fantastic! 🙏🤯

Denis Cohen (@denis_cohen; 50): mzes-xaringan-metropolis Demo: Repository: > mzes-beamer-metropolis Demo: Repository: > 23

Ajay Koli (@dalitdata; 21): If you are preparing slides using #rstats package #xaringan and by mistake you had deleted the .Rmd file 😰. Then: > 1. Look for the .html output file of your deleted .Rmd file. 2. Click on the .html file and chose the option “Open in Editor”. 3. Most of your codes will be there.

Julio Trecenti (@jtrecenti; 20): @djnavarro PowerPoint without WordArt > {xaringan}

Igor Rian ✠ (@igor_rian10; 10): @Ittalloferreira Kkkkkkkkkkkkkkk vsf com esse negócio de Suzano e xaringan e gamegamerrá porra é essa

Denis Cohen (@denis_cohen; 10): @rruizrufino @MZESUniMannheim @KingsQPE Sure! That just requires changing the corporate color definitions and logo in the preamble (Beamer) or in mtheme.css and insert-logo.html (xaringan), respectively.

Mine CetinkayaRundel (@minebocek; 10): @KellyBodwin You’re welcome! My one issue with this approach is that you end up needing to use the infinite moon reader for the css file to be picked up from another directory (assuming you have xaringan slides), and I have a ❤️/🤬 relationship with the infinite moon reader.

Joseph Casillas (@jvcasill; 10): @ChelseaParlett It would be cool if you put them in a public repo. Then I could include them in my #xaringan slides using the url and never download them 😍

T.H MUNHOZ 🔥⚡ (@nd_munhoz12; 10): Eu sou o kakashi , com um olho de xaringan 😂😂😂😂😂

Tom Mock (@thomas_mock; 10): @grrrck I’m trying to figure out a way that is logistically feasible to do some sticker drops, 1:1 exchanges are easy but 1:many are tough in reality. > That being said I owe you MUCHO from earlier in the year with your Xaringan help 🤠