{
  "title": "Behold, an updated, simplified, step-by-step guide (plus video!) for doing regression discontinuity with #rstats! https://t.co/r9q16QjGnU https://t.co/BouekS7Bz2",
  "date": "2020-10-21"
}

# #rstats

> **Andrew Heiss** (@andrewheiss; 618/120): Behold, an updated, simplified, step-by-step guide (plus video!) for doing regression discontinuity with #rstats! https://t.co/r9q16QjGnU https://t.co/BouekS7Bz2  [&#8618;](https://twitter.com/xieyihui/status/1318609279864233985)

<!-- -->


> **David Robinson** (@drob; 581/52): Wow while we’ve been messing around on #rstats Reddit has been getting it done https://t.co/tOr2T8BCLH  [&#8618;](https://twitter.com/xieyihui/status/1318743683542470656)

<!-- -->


> **R-bloggers** (@Rbloggers; 283/76): Bayesian Statistics using R, Python, and Stan  {https://t.co/D9Z05TSgbx} #rstats #DataScience  [&#8618;](https://twitter.com/xieyihui/status/1318631125787549702)

<!-- -->


> **Dr Andrew Digby** (@takapodigs; 192/41): All #kakapo fans who are #Rstats users: check out the new awesome #kakapo colour palette from @GojThomson. You can now have Sinbad in all of your plots!  #conservation https://t.co/Loq6O1Eyp7  [&#8618;](https://twitter.com/xieyihui/status/1318656459542986753)

<!-- -->


> **Christophe Dervieux** (@chrisderv; 165/35): Already 20th of October ?! So... the printed version of #rmarkdown cookbook is officially out ! 🎉🤩
> >
> For those who❤️paper, you can now get a hard copy at 
> https://t.co/TqwemMnZsd
> (I think it is on sale for a few days)
> >
> Happy #rstats 📚 reading!  [&#8618;](https://twitter.com/xieyihui/status/1318588849493299202)

<!-- -->


> **Dr. Ganapathi Pulipaka** (@gp_pulipaka; 151/110): Best Machine Learning Books (Updated for 2020). #BigData #Analytics #DataScience #IoT #IIoT #PyTorch #Python #RStats #TensorFlow #Java #JavaScript #ReactJS #GoLang #CloudComputing #Serverless #DataScientist #Linux #Books #Programming #Coding #100DaysofCode
> https://t.co/0cCvoCGKZn https://t.co/SiNo4krOaE  [&#8618;](https://twitter.com/xieyihui/status/1318564439583563776)

<!-- -->


# blogdown

> **Alison Presmanes Hill** (@apreshill; 66/12): Personal highlights from the latest #blogdown
> >
> 🧶 the knit button in @rstudio *works*
> >
> 🍱 has a helper function blogdown::bundle_site() to move post files into leaf bundles
> >
> 🏗️ blogdown::build_site() no longer recompiles R Markdown files by default
> >
> 🎓 Hugo modules just work https://t.co/sfqcyrCdnx  [&#8618;](https://twitter.com/xieyihui/status/1316441899893493763)

<!-- -->


> **Stephanie Hicks** (@stephaniehicks; 39/10): Looks like I definitely need to upgrade to latest #blogdown! Thanks @xieyihui for the *awesome* features in the new release! #rstats https://t.co/JiEc8XPxnx  [&#8618;](https://twitter.com/xieyihui/status/1317199870671933441)

<!-- -->


> **FROHMANN VERLAG** (@Frohmannberlin; 14/1): @nachtundtagblog Bei uns erscheint Mitte November – VÖ-Tag wegen Eventfrage noch nicht ganz fix – in der Reihe Kleine Formen #blogdown von Philip Grözinger (Zeichnungen) und @GeorgDiez1 (Texte). https://t.co/Ph6FQHbr9L  [&#8618;](https://twitter.com/xieyihui/status/1318504341628702722)

<!-- -->


> **Grant McDermott** (@grant_mcdermott; 10/0): Featuring great packages by @AchimZeileis, @VincentAB and @lrberge, among others.
> >
> Also thanks to @xieyihui for integrating blogdown with Jekyll/GH-pages. Surprisingly enough, this is the first blog post that I've written entirely in R Markdown...  [&#8618;](https://twitter.com/xieyihui/status/1318688824059330560)

<!-- -->


> **Rodrigo Werle** (@WiscWeeds; 5/2): Our https://t.co/UJJiskizCe blog went down for a couple days after some updates (thanks @maxwelco for helping me bring it back to life). Farmers, educators, agronomists &amp; industry colleagues reached out to let us know the blog was down; very happy they noticed! #blogdown #rstats https://t.co/OGcjs18Ll8  [&#8618;](https://twitter.com/xieyihui/status/1318551739382091776)

<!-- -->


> **Lars M** (@thesignigame; 3/2): Oh man, my blogdown/Hugo set-up let's me have GIFs as thumbnails *chef's kiss* #rstats #blogdown https://t.co/JyQ0nAPtE0  [&#8618;](https://twitter.com/xieyihui/status/1318678058048606208)

<!-- -->


> **Yihui Xie** (@xieyihui; 3/0): @andrewheiss @jent103 @apreshill Anyway, with https://t.co/etUd4tdNoa the original 3 "don't"s in this twitter thread are no longer necessary:
> >
> 1. You can't (easily) touch index.Rmd;
> 2. There is no public/ directory any more by default (you don't even need to know what that means);
> 3. Just Knit It! (TM)  [&#8618;](https://twitter.com/xieyihui/status/1316503548105043971)

<!-- -->


> **Alison Presmanes Hill** (@apreshill; 3/0): @_bcullen I basically cannot reuse my old blogdown teaching slides, but I'm OK with this :) https://t.co/OeAHZQ8g81  [&#8618;](https://twitter.com/xieyihui/status/1316486418009645057)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 2/2): Unable to render new .Rmd files to html after the recent blogdown update #tidyverse #rstats https://t.co/nv5ENwqOHV  [&#8618;](https://twitter.com/xieyihui/status/1318021678547521536)

<!-- -->


> **Joshua de la Bruere** (@delaBJL; 2/2): Does anyone know of a blogdown/#hugo theme that is heavily inspired by Microsoft's Metro design philosophy? 
> #rstats  [&#8618;](https://twitter.com/xieyihui/status/1316400306473832454)

<!-- -->


> **Jae Yeon Kim** (@JaeJaeykim2; 2/0): @andrewheiss Thanks for sharing. Also, this is an excellent use of blogdown! Very impressed.  [&#8618;](https://twitter.com/xieyihui/status/1318649369802035201)

<!-- -->


> **Chris Mainey** (@chrismainey; 1/2): Hey #rstats #blogdown users. Is anyone else having problems since latest update? I think it's to do with servr, as it doesn't respond when serving site. Happens on Windows and Ubuntu through WSL. If it's just me, it must be firewall or something. @xieyihui @apreshill Thanks!  [&#8618;](https://twitter.com/xieyihui/status/1317566587239628802)

<!-- -->


> **blowindblow** (@cyanapricot; 1/1): Personal projects: 
> 1. Scrape web for the full script of C&amp;H comics
> 2. Create wallpaper for phone/computer 
> 3. Participate in #TidyTuesday  
> 4. Migrate from WordPress to R blogdown + Netlify(?)
> 5. Edit short AC video for Sher  [&#8618;](https://twitter.com/xieyihui/status/1317045017207279616)

<!-- -->


> **Dr. Oof-enshmirtz** (@daveonbrill; 1/0): Finally may time na ako to do stuff that I wanna do 😭 tomorrow I'll try to learn {blogdown} and migrate things there hehe  [&#8618;](https://twitter.com/xieyihui/status/1318933873451880448)

<!-- -->


> **Grant McDermott** (@grant_mcdermott; 1/0): @VincentAB Thanks man! Very happy with the switch to a remote theme. Makes the site much more lightweight and easy to update. (Plus the blogdown integration obvs...)
> >
> That's all @mmistakes's work btw.  [&#8618;](https://twitter.com/xieyihui/status/1318924639809146881)

<!-- -->


> **Yihui Xie** (@xieyihui; 1/0): @PieRatio As I said to someone else recently (https://t.co/gB9xLWMGsZ), it's often hard to debug problems on Twitter. I'll appreciate it if you could file a Github issue with a reproducible example. I just tested leaflet myself against the dev version of blogdown, and it worked fine.  [&#8618;](https://twitter.com/xieyihui/status/1318620921377280008)

<!-- -->


> **Yihui Xie** (@xieyihui; 1/0): @sedgeboy @ProQuesAsker @rstudio Done: https://t.co/Qmodv7rRPe  [&#8618;](https://twitter.com/xieyihui/status/1316477211399028736)

<!-- -->


> **Yihui Xie** (@xieyihui; 1/0): @chrismainey @apreshill I just pushed a possible fix that might be relevant to your problem. Please see if remotes::install_github('rstudio/blogdown') works. If not, feel free to file an issue. Thank you!  [&#8618;](https://twitter.com/xieyihui/status/1317918848901894144)

<!-- -->


> **Yihui Xie** (@xieyihui; 1/0): @chrismainey @apreshill There's too little information in a tweet. Could you file an issue to Github? https://t.co/BEDq7Cfo7V Thanks!  [&#8618;](https://twitter.com/xieyihui/status/1317660252079329280)

<!-- -->


> **Tom** (@tomjemmett; 1/0): @ChrisBeeley Something I’m mulling over whether to build, but a repository to store these kinds of analysis, then use bookdown / blogdown to render to github pages.  [&#8618;](https://twitter.com/xieyihui/status/1317834848418017281)

<!-- -->


> **Karina Bartolomé 💚** (@karbartolome; 1/0): @guadag12 @smessina_ @r0mymendez Jajaj posta que sí!! todo mi blogdown es un hugo template yo solo armé las publicaciones, sin templates es imposible 🙈  [&#8618;](https://twitter.com/xieyihui/status/1317799504817643521)

<!-- -->


> **C. M. Jones-Todd** (@cmjonestodd; 1/0): @TiagoALOMarques @rstudio @rstudiotips No idea about RStudio Connect, but for #bookdown / #blogdown stuff I use GHpages. There are other ( perhaps cooler?) options I'm sure!  [&#8618;](https://twitter.com/xieyihui/status/1317166664580878337)

<!-- -->


> **Peter Sobolewski** (@psobolewskiPhD; 1/0): @vtemarticent @dsquintana If you do go the #blogdown route, this 'workflow' from @xieyihui was very helpful for me (whole book is great!)
> https://t.co/LGEvTtPIby
> Also from @apreshill :
> https://t.co/l9coyubeTx
> FYI: Don't hesitate to nuke the 'public' folder and hugo_build again!  [&#8618;](https://twitter.com/xieyihui/status/1317154642061611013)

<!-- -->


# bookdown

> **Solomon Kurz** (@SolomonKurz; 17/1): Would you like to improve your R Markdown game? Check out “R Markdown Cookbook”! 
> >
> You can find the free online version (licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License) here: https://t.co/CamIs93v5m https://t.co/VUuujiRo2K  [&#8618;](https://twitter.com/xieyihui/status/1318902611962114048)

<!-- -->


> **#DatarkanKeluk 🏠 داترکن کلوق#** (@Thaza_Kun; 16/5): Contoh buku rujukan Fizik berbahasa Jerman yang dihasilkan menggunakan Bookdown.
> >
> Rupa Catatan Mekanik Kuantum aku akan jadi macam ini. Cubalah belek-belek sekejap.
> >
> https://t.co/Pq0yi6AiiP https://t.co/IF5XTC6phi  [&#8618;](https://twitter.com/xieyihui/status/1317819517708369920)

<!-- -->


> **Beatriz Milz** (@BeaMilz; 13/2): Quer saber como usar o GitHub Actions para fazer o deploy de um livro usando o pacote bookdown? Confira esse post do @Emil_Hvitfeldt : https://t.co/tgaiP19mI9  [&#8618;](https://twitter.com/xieyihui/status/1317266263266086912)

<!-- -->


> **Emily Riederer** (@EmilyRiederer; 6/1): Will some of your readers care about the code but most won't? Automatically pull it all into an appendix
> >
> https://t.co/zQE0D6gptZ
> >
> (10/n)  [&#8618;](https://twitter.com/xieyihui/status/1318893051876642817)

<!-- -->


> **#DatarkanKeluk 🏠 داترکن کلوق#** (@Thaza_Kun; 5/2): Benda ini lebih hampir dengan tujuan asal aku menghimpunkan nota kuliah itu: supaya wujud rujukan sains ilmiah berbahasa Melayu di internet.
> >
> Setelah lebih kurang 2 tahun mencari, akhirnya aku jumpa juga caranya: kerangka Bookdown.  [&#8618;](https://twitter.com/xieyihui/status/1317115183169380353)

<!-- -->


> **John MacKintosh** (@_johnmackintosh; 5/1): I'm immediately struck by the overall appearance of this book, and how quickly the contents load. Is this a typical Python notebook? 
> Bookdown books always seem to be quite laggy, (which is why I have the hard copies of R4DS and TidyText) https://t.co/Tem8x0mqo5  [&#8618;](https://twitter.com/xieyihui/status/1317549918119186435)

<!-- -->


> **Zelus** (@yo_mom_gae; 5/0): @elisejnik Looks like a bookdown to me https://t.co/x1zwudVpPe  [&#8618;](https://twitter.com/xieyihui/status/1318895871287754752)

<!-- -->


> **Eric Green** (@ericpgreen; 5/0): @jdrasmus1 @savljohnson @noah_triplett Think like a demographer and get curious about crosstabs. I spot a lot of problems that way. Always make it reproducible!
> >
> R for Data Science (https://t.co/899a5l5kw3) and Exploratory Data Analysis (https://t.co/WBtZ1Fbplk) are two good resources. 
> >
> Tag: @sd2nyc2nc  [&#8618;](https://twitter.com/xieyihui/status/1317436855873425410)

<!-- -->


> **Emily Riederer** (@EmilyRiederer; 4/0): Overrun by the amount of code in a single Rmd or want it better modularized for collaboration? Child documents can help you write multiple Rmd and render them to one output: 
> >
> https://t.co/G0sN0Jwtji
> >
> (2/n)  [&#8618;](https://twitter.com/xieyihui/status/1318893040736534528)

<!-- -->


> **Hamed Davari** (@Dave_theJudge; 4/0): @Velad20 @Taghip1 https://t.co/aYoMwz5cmE
> https://t.co/rl5ZI8pMgx  [&#8618;](https://twitter.com/xieyihui/status/1318842459644899331)

<!-- -->


> **Emily Riederer** (@EmilyRiederer; 3/0): Concerned about accessibility? You should be! Use web best practices to make your HTML output more accessible and screen-reader friendly
> >
> https://t.co/T1V59u87Ew
> >
> (9/n)  [&#8618;](https://twitter.com/xieyihui/status/1318893050714857472)

<!-- -->


> **Emily Riederer** (@EmilyRiederer; 3/0): Need to reference specific lines of code in your writing? Output hooks let you post-process your output -- including adding line numbers!
> >
> https://t.co/7j1faEF9HS
> >
> (5/n)  [&#8618;](https://twitter.com/xieyihui/status/1318893045153148928)

<!-- -->


> **Emily Riederer** (@EmilyRiederer; 3/0): Want to automatically generate code chunks and/or MD text (e.g. separate header and plot for a set of variables)? knit_expand() is your friend
> >
> https://t.co/YKJx7UQ1W6
> >
> (4/n)  [&#8618;](https://twitter.com/xieyihui/status/1318893043529953280)

<!-- -->


> **Martin Skarzynski** (@marskar; 3/0): @chrisderv @JoannaMelon Links to the rmarkdown cookbook:
> https://t.co/qzH2u1YOy3: https://t.co/ZeLPwGK37k
> GitHub: https://t.co/OSTlVrcEBJ  [&#8618;](https://twitter.com/xieyihui/status/1318767433780498433)

<!-- -->


> **#DatarkanKeluk 🏠 داترکن کلوق#** (@Thaza_Kun; 3/0): Konteks: Aku tengah cuba hasilkan catatan Mekanik Kuantum menggunakan Bookdown
> >
> https://t.co/WYB5DS1Q3V  [&#8618;](https://twitter.com/xieyihui/status/1317819904628649984)

<!-- -->


> **#DatarkanKeluk 🏠 داترکن کلوق#** (@Thaza_Kun; 3/0): Bookdown menggabungkan kemantapan LaTeX dalam penulisan Markdown (md) . Markdown ni macam Words tapi lebih ringkas. Gabungan md dan LaTeX ini pula diterjemahkan dalam bentuk HTML.
> >
> Tambahan pula, Bookdown membolehkan ia disusun ikut bab macam buku!  [&#8618;](https://twitter.com/xieyihui/status/1317116568552177666)

<!-- -->


> **#DatarkanKeluk 🏠 داترکن کلوق#** (@Thaza_Kun; 3/0): Bookdown juga memudahkan pembaca yang menggunakan telefon jadi tak semestinya ia perlu dirujuk menggunakan komputer semata-mata.  [&#8618;](https://twitter.com/xieyihui/status/1317117944665702401)

<!-- -->


> **Sara Mortara** (@MortaraSara; 3/0): @rafalpx @SanchezTapiaA apesar de um dos nossos objetivos ser convencer as pessoas a não temer latex, a oficina foi tão boa que depois dela eu estou usando até bookdown  [&#8618;](https://twitter.com/xieyihui/status/1316402558177546240)

<!-- -->


> **David Grubbs** (@crcgrubbsd; 2/3): It's official the R Markdown Cookbook is now out in print!!!! It's available from https://t.co/FHdVATWhL8 Hearty Congratulations to @xieyihui @chrisdev and @EmilyRiederer and the editor @JohnEKimmel1. #rstats #datascience #bookdown  [&#8618;](https://twitter.com/xieyihui/status/1318933750697332737)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 2/3): Can bookdown output in PDF/X-3 format? #tidyverse #rstats https://t.co/56B7FEAtD6  [&#8618;](https://twitter.com/xieyihui/status/1317905926771310599)

<!-- -->


> **f0nzie@OilGainsAnalytics** (@OilGains; 2/3): I made this special update of #rstats #rTorch at request of one of the top seven science and engineering universities in United States. What an honor!
> >
> https://t.co/NpUHi89BR4
> https://t.co/9t6YuuZTG7
> >
> Manuals and tutorials written in #Rmarkdown #bookdown and #pkgdown packages.  [&#8618;](https://twitter.com/xieyihui/status/1316799586204344320)

<!-- -->


> **Wei Yang Tham** (@wytham88; 2/2): #rstats Bookdown question: can you do custom text for links to figures?
> >
> right now i can do the usual "refer to Figure \
> @ ref(fig:graph-i-plotted)". 
> >
> Is there something like 
> >
> [random crap I wanna say](# graph-i-plotted)?  [&#8618;](https://twitter.com/xieyihui/status/1318217554335322112)

<!-- -->


> **Andi (they/them)** (@InductiveStep; 2/2): Current fav:
> - lecture notes in #RStats markdown
> - knitted to self-contained html (images embedded)
> - using {.tabset) to hide answers
> - animated gifs, e.g., to demo actions in RStudio
> - NOT using {bookdown}; rather each week's chap is self-contained and downloadable  [&#8618;](https://twitter.com/xieyihui/status/1317045674228187137)

<!-- -->


> **Solomon Kurz** (@SolomonKurz; 2/0): @fusaroli @paulbuerkner It's not very polished, but you can find some #brms code for discrete-time hazard models here: https://t.co/W2SQzrfcnu  [&#8618;](https://twitter.com/xieyihui/status/1318528485690871809)

<!-- -->


> **Emily Riederer** (@EmilyRiederer; 2/0): Are you writing a tutorial or vignette and want to show and mock a temp file on the fly? The {cat} engine can help you out
> >
> https://t.co/5RzQCRwWjP
> >
> (8/n)  [&#8618;](https://twitter.com/xieyihui/status/1318893049464954881)

<!-- -->


> **Emily Riederer** (@EmilyRiederer; 2/0): Have some Markdown code to show only if certain logical conditions are met? Using the {asis} language engine and the {echo} chunk option makes this straightforward and elegant
> >
> https://t.co/eHARzBP1k5
> >
> (3/n)  [&#8618;](https://twitter.com/xieyihui/status/1318893042170998785)

<!-- -->


> **Tiago André Marques** (@TiagoALOMarques; 2/0): Hey tweet-peeps that use #bookdown. How hard is to publish online some notes I made for students? Does not seem straightforward, am I missing an obvious step? @rstudio @rstudiotips #. Sorry for numpty first time use... https://t.co/UtwM5FxSHl  [&#8618;](https://twitter.com/xieyihui/status/1317051287251394561)

<!-- -->


> **CAP'N** (@nathangs20; 2/0): I'll be trying this out. It may be what pulls me away from VS Code for my bookdown project. Depends on RStudio's git support, with which I'm not familiar. https://t.co/TbfqN7xgDd  [&#8618;](https://twitter.com/xieyihui/status/1316927786020425730)

<!-- -->


> **Sucheta Tripathy** (@tsucheta; 2/0): Computational Genomics with R and many other free books at https://t.co/vTO5VBKbG7  [&#8618;](https://twitter.com/xieyihui/status/1316674674718244865)

<!-- -->


> **Radoslaw Panczak** (@RPanczak; 1/3): @SN_OAbooks The link above will get you one for mere $13000€. The link below will get you one for free in #rstats #markdown on @github with awesome work from @xieyihui. Just example. There are many other tech and web options. Choose wisely #openscience https://t.co/DPI4VCTEG5  [&#8618;](https://twitter.com/xieyihui/status/1318224754046914560)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 1/2): PNG file does not render in Bookdown #tidyverse #rstats https://t.co/phVGUAcXQ2  [&#8618;](https://twitter.com/xieyihui/status/1317581257002405890)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 1/2): R Bookdown code shunk output problems pdf #tidyverse #rstats https://t.co/FocS3hxbPR  [&#8618;](https://twitter.com/xieyihui/status/1317890793131180032)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 1/2): Code folding for multiple languages in bookdown #tidyverse #rstats https://t.co/Ba3XoF1dIg  [&#8618;](https://twitter.com/xieyihui/status/1317108168531546123)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 1/2): Is there a proper way to include images in the margins a an R Bookdown project? #tidyverse #rstats https://t.co/UQnILui6fF  [&#8618;](https://twitter.com/xieyihui/status/1316823780237467650)

<!-- -->


> **Yihui Xie** (@xieyihui; 1/1): @thomas_mock @AnthonyTeacher @robinson_es Yes, you can. It's similar to how you reference R code. Put Markdown chunks in a file, e.g., ref.txt, label them, knitr::read_chunk('ref.txt'), and use them with \`\`\`{asis, your-markdown-label}. More about the asis engine: https://t.co/0cvFOgOKSp  [&#8618;](https://twitter.com/xieyihui/status/1316396723242180608)

<!-- -->


> **Emily Riederer** (@EmilyRiederer; 1/0): Oops! Missed one of them and only did 9 😳
> >
> Need multiple output formats? Make sure your custom styling (from the previous 2 chapters!) will work either way
> >
> (11-ish / n)
> >
> https://t.co/ePJA9Bf1lD  [&#8618;](https://twitter.com/xieyihui/status/1318894727194882050)

<!-- -->


> **Emily Riederer** (@EmilyRiederer; 1/0): Want to customize the style of an arbitrary block of text or code? Insert your own "fence" with Pandoc divs!
> >
> https://t.co/MWCt0fWW7b
> >
> (7/n)  [&#8618;](https://twitter.com/xieyihui/status/1318893048177348611)

<!-- -->


> **Harsh** (@HarshSikka; 1/0): @andrew_n_carr @gumroad Definitely! Also check out https://t.co/8jaGMXpsM7, it looks super convenient for pushing our something decent looking to html, PDF, and epub, etc. (it is in R Markdown tho lol)  [&#8618;](https://twitter.com/xieyihui/status/1318317998814318593)

<!-- -->


> **Alejandra Ortiz-Ayala** (@aleortizayala; 1/0): @AdrianaRudling @JasonReifler @tjscotto @Qualtrics https://t.co/4llC1uZoIx
> If you have additional questions let me know  [&#8618;](https://twitter.com/xieyihui/status/1318286094694166528)

<!-- -->


> **Garrick Aden-Buie** (@grrrck; 1/0): @RaoOfPhysics Yeah I agree and for PDF specifically entr is probably the best option. This reminds me that I wrote a (terribly hacky too) R script specifically for watching and re-rendering a bookdown project, I'll see if I can dig it up to share  [&#8618;](https://twitter.com/xieyihui/status/1316751127078203392)

<!-- -->


> **Rosalie Bruel** (@RosalieBruel; 1/0): @prosser55 @rstatstweet In the {r} part of the chunk (where you can define the options for your chunk, e.g., eval = T), you can add fig.width = 7 and fig.height = 4 (for example). See here for more details:
> https://t.co/MTISIDWlLW  [&#8618;](https://twitter.com/xieyihui/status/1316714205165256705)

<!-- -->


> **sumeragiagito** (@sumeragiagito; 1/0): こんばんは😄
> >
> 機械学習関連で
> >
> 「Feature Engineering and Selection: A Practical Approach for Predictive Models」
> >
> 直訳で「特徴量エンジニアリングと選択：予測モデルの実用的なアプローチ」
> >
> という特徴量エンジニアリングについて書かれた本が
> >
> webで無料公開中！
> >
> https://t.co/u4nES5V1rG  [&#8618;](https://twitter.com/xieyihui/status/1316708296435404800)

<!-- -->


> **abdullah zubair** (@zubsw; 0/2): Learned basics of #bookdown this week. Still baby steps but slowly getting the groove of it #rstats  [&#8618;](https://twitter.com/xieyihui/status/1317906213347078145)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): Unable to resize an image in Bookdown #tidyverse #rstats https://t.co/Vu4g8J92qG  [&#8618;](https://twitter.com/xieyihui/status/1318426820534992896)

<!-- -->


> **Lukas Burk** (@Jemus42; 0/1): Seriously I can't stress enough how much TinyTeX has made local LaTeX projects viable for me, which is kind of what the entirety of all my {bookdown}-related endeavours relies upon. Including my master's thesis. Which is kind of a biggie for me right now. #rstats  [&#8618;](https://twitter.com/xieyihui/status/1318153958003822593)

<!-- -->


# knitr

> **atusy** (@Atsushi776; 7/0): 久々にknitrにPRしてきた。これで1.29, 1.30, 1.31とコンスタントに貢献できてる。  [&#8618;](https://twitter.com/xieyihui/status/1317474859123838977)

<!-- -->


> **Ioannis Kosmidis** (@IKosmidis_; 6/4): To top this up: the #rstats ecosystem has great📦to both produce publication-quality reports/outputs *and* maximize their accessibility ({knitr}, {rmarkdown}, {colorspace}, {viridis} to name a few). We can always do better in terms of accessibility.
> >
> https://t.co/vcm7YIPJCc https://t.co/NKQnQqnP6w  [&#8618;](https://twitter.com/xieyihui/status/1316686263345385482)

<!-- -->


> **Benjamin Wolfe** (@BenjaminWolfe; 3/2): TFW you find exactly the #rstats answer you need from an obscure @StackOverflow thread from 3.5 years ago. Thanks @juliasilge!
> >
> And for the record, if you use #knitr with abnormally large datasets, setting cache.lazy to FALSE can save you some headaches.
> >
> https://t.co/At9x3g98Rw  [&#8618;](https://twitter.com/xieyihui/status/1317134813799829504)

<!-- -->


> **Programmer Books** (@ProgrammerBooks; 3/1): Dynamic Documents with R and knitr, 2nd Edition ==&gt; https://t.co/oEwqrZusUJ
> >
> #python #javascript #angular #reactjs #vuejs #perl #ruby #Csharp #Java #linux #programming #network #security #golang #coding #ionic #android #ios #DataScience #development #ArtificialIntelligence https://t.co/vWOynWo8Y7  [&#8618;](https://twitter.com/xieyihui/status/1318559891187957765)

<!-- -->


> **Jae Yeon Kim** (@JaeJaeykim2; 3/0): I shared this tip once ... If you want to turn your test version R markdown file into R script for whatever the reason is, consider using something like this `knitr::purl(input = here("markdown", "test.Rmd"), 
>             output = here("R", "prod.r"))`  [&#8618;](https://twitter.com/xieyihui/status/1318644375472070656)

<!-- -->


> **Emily Riederer** (@EmilyRiederer; 2/0): Curious about **all the chunk options** besides `eval` and `echo`? The print appendix includes a comprehensive list, which you can also find on @xieyihui 's blog
> >
> https://t.co/y82NCp0VaF
> >
> (6/n)  [&#8618;](https://twitter.com/xieyihui/status/1318893046923231233)

<!-- -->


> **🇲🇽 Leonardo Collado-Torres** (@lcolladotor; 1/2): @RahaPhD @RLadiesBmore Could be:
> >
> * Something in Raha’s Rprofile?
> * An RStudio version change?
> * An RStudio setting?
> * A difference in the #rmarkdown or #knitr versions we have installed?
> >
> ⁉️
> >
> @RahaPhD, can you post your R session &amp; Rstudio version info too? Maybe on a gist. Thanks!
> >
> #rstats @rstudio  [&#8618;](https://twitter.com/xieyihui/status/1318607407833034752)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 1/2): .png from knitr breakes flexdashboard in Shiny app #tidyverse #rstats https://t.co/xhEb9aZMlM  [&#8618;](https://twitter.com/xieyihui/status/1318254455142420480)

<!-- -->


> **Shoei** (@shoei05; 1/1): rmarkdownで使用しているパッケージの挙動が不安定で、一回で正しく図示されない場合。あとで差し替えたい場合は、cache=2 だと差分と認識されてknitr時に上書きされてしまうため、cache=3で、file名_files＞figure-html＞該当画像を差し替えるとうまくいく https://t.co/KT5yDofytH  [&#8618;](https://twitter.com/xieyihui/status/1317833125339164677)

<!-- -->


> **jake riley** (@yake_84; 1/0): @daniebrant This can be so frustrating. You can try
> >
> \`\`\`{r, out.width = "400px"} 
> knitr::include_graphics("path/to/image.png")
>  \`\`\`  [&#8618;](https://twitter.com/xieyihui/status/1317086630470164481)

<!-- -->


# pagedown

> **Romain Lesur** (@RLesur; 2/0): @felipe_mattioni @_ColinFay @chrisderv Got it! You encountered the same bug as me. You need to add '--disable-dev-shm-usage' in the extra_args parameter.
> see https://t.co/ryFK7LwjFP  [&#8618;](https://twitter.com/xieyihui/status/1317858461598834688)

<!-- -->


> **Christophe Dervieux** (@chrisderv; 2/0): @_ColinFay @felipe_mattioni @RLesur You may need so set some extra arg so that it work in docker. It depends on the container you are using and how chrome is setup. 
> For example : extra_args = c("--disable-gpu", "--no-sandbox")
> See https://t.co/xhIGC1o8vd  [&#8618;](https://twitter.com/xieyihui/status/1317178885478502401)

<!-- -->


> **Romain Lesur** (@RLesur; 1/0): @felipe_mattioni @_ColinFay @chrisderv I've gathered all the recipes to use pagedown::chrome_print() with docker in this section of the documentation https://t.co/thHkQrQQK8  [&#8618;](https://twitter.com/xieyihui/status/1317185475522736130)

<!-- -->


# tinytex

> **Lukas Burk** (@Jemus42; 3/2): I just had a biblatex/biber-related issue with the formatting in my .bib file that wasn't an issue 2 days ago, and I thought I might as well reinstall/update TeX Live via {tinytex}, and… thanks @xieyihui, TinyTeX is the best thing since sliced bread, it just works 🙏 #rstats  [&#8618;](https://twitter.com/xieyihui/status/1318151913225990144)

<!-- -->


# xaringan

> **Silvia Canelón** (@spcanelon; 6/6): I'm excited to be leading an #RStats #xaringan workshop in two weeks for the @NHSrCommunity 2020 Conference!
> >
> There's still time to register!
> >
> 🔖Find out more about my workshop at the course site: https://t.co/ckLXTaj565
> >
> And see the full program here: https://t.co/Fk5aQQPKMv https://t.co/fscwJ9Nrsd  [&#8618;](https://twitter.com/xieyihui/status/1318650278648958976)

<!-- -->


> **Sophie Hill** (@sophie_e_hill; 4/1): @dbrby What is it? 
> >
> I like using Xaringan - super easy to customize! https://t.co/bjcsM9VzU7  [&#8618;](https://twitter.com/xieyihui/status/1317084028705624065)

<!-- -->


> **Mine Dogucu** (@MineDogucu; 4/0): When RISE becomes as good as xaringan, I will teach with Jupyter.  [&#8618;](https://twitter.com/xieyihui/status/1317549002997469186)

<!-- -->


> **CRAN Package Updates** (@CRANberriesFeed; 2/4): CRAN updates: MARSS mvrsquared PRISM.forecast RaSEn rmarkdown SuessR xaringan https://t.co/y5W2NTKSXT #rstats  [&#8618;](https://twitter.com/xieyihui/status/1318779654392741888)

<!-- -->


> **Ross Dahlke 🔑** (@Ross_Dahlke; 2/0): @sophie_e_hill @dbrby Agreed on Xaringan! I can seem a little intimidating with how custom you _can_ make it with css (if like me you don’t know css), but you don’t have to and then it’s super simple.  @sophie_e_hill ‘s template looks great!  [&#8618;](https://twitter.com/xieyihui/status/1317088760543158274)

<!-- -->


> **Garrick Aden-Buie** (@grrrck; 2/0): @RaoOfPhysics Two suggestions: you can use xaringan::infinite_moon_reader() or js4shiny::live_preview(). Both will re-render .Rmd documents when saved and are available as RStudio addins
> >
> https://t.co/pdlR6kzuhh
> https://t.co/7bCvgEELka  [&#8618;](https://twitter.com/xieyihui/status/1316743508926103553)

<!-- -->


> **Michal Michalski** (@topographos2; 2/0): @josephlewis1992 True, took me ages but I settled on xaringan for R related stuff  [&#8618;](https://twitter.com/xieyihui/status/1316497414728101894)

<!-- -->


> **kvltovcachelos** (@AntifaCogollo; 1/1): Ninguén:
> Absolutamente ninguén:
> Truxa:
> Al igual está poco puto tocho el ascrafly este...
> >
> El del xaringan este  [&#8618;](https://twitter.com/xieyihui/status/1317585782757097472)

<!-- -->


> **Jon Harmon** (@JonTheGeek; 1/0): @_ColinFay @rstudio It appears to happen when I have a rendered xaringan presentation from a different project open in an RStudio window, strangely enough. Closing that window took care of the issue. Gonna try to make a true reprex and... figure out where to submit an issue...  [&#8618;](https://twitter.com/xieyihui/status/1318657235782914049)

<!-- -->


> **Russ Steele** (@RussInMtl; 1/0): @daniela_witten I hope you ask all your future seminar hosts to include this in their introduction of you.  TBH, this is a real branding opportunity for you. Coffee mugs,  T-shirts, a TikTok collaboration with @ChelseaParlett,  a xaringan slides theme extension package. I'm in for all of it.  [&#8618;](https://twitter.com/xieyihui/status/1316769896261455877)

<!-- -->


> **neregauzak** (@neregauzak; 1/0): @jjgibaja Preparará sus presentaciones con xaringan?  [&#8618;](https://twitter.com/xieyihui/status/1316614896814092293)

<!-- -->


# yihui.name

> **We are R-Ladies** (@WeAreRLadies; 27/4): Two resources have been useful to me ➡️ https://t.co/QuwWgGeRIg for inspiration and https://t.co/yNgDAJtqpW for beginners. @xieyihui authored the DT package, which I use regularly! #rladies #learntocode  [&#8618;](https://twitter.com/xieyihui/status/1316901047944826883)

<!-- -->


> **Dianne Cook** (@visnut; 11/1): @statsgen Stated by someone who is way more knowledgeable and talented, nicknamed the cool hacker in https://t.co/bXDlZQNEFY  [&#8618;](https://twitter.com/xieyihui/status/1316639254634668033)

<!-- -->


