{
  "title": "This is a big deal: https://t.co/kzdugtKMZX #rstats",
  "date": "2019-12-11"
}

# #rstats

> **Max Kuhn** (@topepos; 1563/498): This is a big deal: https://t.co/kzdugtKMZX #rstats  [&#8618;](https://twitter.com/xieyihui/status/1204153939551227904)

<!-- -->


> **David Schoch** (@schochastics; 879/269): I put together an #rstats package that contains almost 1000 publicly available network data sets. No need to stick with the same old datasets anymore! 
> check it out on github https://t.co/x2KcklOc9k  [&#8618;](https://twitter.com/xieyihui/status/1204080876289699841)

<!-- -->


> **Edwin Thoen** (@edwin_thoen; 484/86): Y'all seem to like those @rstudio shortcut recordings, here is another. Use alt + arrows up and down to swap lines of code. No more cut and paste #rstats people. https://t.co/TF7YJLI9ap  [&#8618;](https://twitter.com/xieyihui/status/1203941451979198465)

<!-- -->


> **David Josephs** (@Daved256; 470/93): Finishing up a new blog post on interpretable machine learning, and just learned this amazing trick you can do with #rstats and Rmarkdown: https://t.co/OnYng1cAhG https://t.co/sSDqtGhFpW  [&#8618;](https://twitter.com/xieyihui/status/1204077367444021248)

<!-- -->


> **Gabriel Zanlorenssi** (@gzanlorenssi; 428/72): 🇧🇷 Resultado do segundo turno das eleições de 2018, em diferentes níveis de agregação geográfica
> >
> Feito no #rstats com #ggplot2 + #sf. Dados do TSE e do IBGE https://t.co/w8ifSdjaOs  [&#8618;](https://twitter.com/xieyihui/status/1204435976472453120)

<!-- -->


> **RStudio** (@rstudio; 315/140): R &amp; Python: A Love Story
> Help your Data Science teams tap into the strengths of R &amp; Python with RStudio's open-source and professional products. 
> https://t.co/NZlD3NpBwM
> Watch this space, much more to come soon. 
> >
> #RStats #python #pyData #DataScience #OpenScience #OpenData https://t.co/AAfRfgeujF  [&#8618;](https://twitter.com/xieyihui/status/1204330172926898179)

<!-- -->


> **We are R-Ladies** (@WeAreRLadies; 257/61): So you want to learn #rstats? I’ll tell you about my favourite learning resources in a minute, but first… some tips and tricks.  1/n  [&#8618;](https://twitter.com/xieyihui/status/1204232668444889089)

<!-- -->


> **Sebastián Garrido** (@segasi; 229/65): Ahora sí, con ustedes la secuencia de cursos en #rstats que planeamos ofrecer en la Escuela de Métodos 2020 del @LNPP_MX - @CIDE_MX.
> >
> 17 cursos pensando en personas con diferentes backgrounds, intereses y necesidades tanto en estadística como programación. https://t.co/Qf4uFfLoVU  [&#8618;](https://twitter.com/xieyihui/status/1204100407481556997)

<!-- -->


> **Mara Averick** (@dataandme; 206/45): 9️⃣ Day 9 of #rstats resource advent
> 🐦 Take @ptwobrussell's book, add in R and @kearneymw's {rtweet}, toss in @hrbrmstr's skills, and behold:
> 👨‍🍳 "21 Recipes for Mining Twitter Data w/ rtweet" 
> https://t.co/yUVZDdnT2Q https://t.co/dwJUYWFdU4  [&#8618;](https://twitter.com/xieyihui/status/1204098902179352576)

<!-- -->


> **Javier Luraschi** (@javierluraschi; 193/52): The Mastering #ApacheSpark with #rstats 📚 website is now complete and free to use at https://t.co/Mqf9Rpu7lS! https://t.co/1u7gP2Z2eI  [&#8618;](https://twitter.com/xieyihui/status/1204042525343809542)

<!-- -->


> **Priyanga Dilini Talagala** (@pridiltal; 178/46): #Anomaly Detection with R: We started maintaining a list of #R packages that can be used for anomaly detection. 
> The development of this list is fairly new🐣🐣🐣🐤🐣🐣. We'd love to hear your suggestions for additions and extensions. https://t.co/m2ihXsg3Pa #rstats #outliers 📦📦  [&#8618;](https://twitter.com/xieyihui/status/1204283276405309442)

<!-- -->


> **Mara Averick** (@dataandme; 171/61): 🙌 Day 10 of #rstats resource advent
> 🎉 A guide that just keeps getting better (updated Jun 2019)
> ፨ "Static and dynamic network visualization w/ R" by @Ognyanova
> https://t.co/MgNJpeJAXw #rstats #dataviz https://t.co/TJxOs4mjts  [&#8618;](https://twitter.com/xieyihui/status/1204461304662102017)

<!-- -->


# blogdown

> **We are R-Ladies** (@WeAreRLadies; 95/9): I am super excited to curate the @WeAreRLadies handle this week. I’m going to share some of my favourite things about #rstats, pointers for beginners, and some blogdown tips. And I’ve set myself a little screencast challenge. That will kick off tomorrow…. 1/3  [&#8618;](https://twitter.com/xieyihui/status/1203970274397315072)

<!-- -->


> **Roxana Noelia** (@data_datum; 31/10): Learned a lot 🤓lately about #RMarkdown ✍️#blogdown and #xaringan 💯with @apreshill and @grrrck  posts 🌟💫https://t.co/lrYrcyEr0X &amp; https://t.co/MAqve1leqZ  [&#8618;](https://twitter.com/xieyihui/status/1203455953984733184)

<!-- -->


> **We are R-Ladies** (@WeAreRLadies; 31/6): Blogging is one of my favourite things about #rstats and the `blogdown` package makes it super easy. I have several blogdown blogs to my name. First, my Rnotes to myself blog, where I keep track of the new things I am learning https://t.co/1YaZBfIG90 1/n  [&#8618;](https://twitter.com/xieyihui/status/1204522035130449920)

<!-- -->


> **We are R-Ladies** (@WeAreRLadies; 12/2): Maybe you want someone to hold your hand? Check out this thread by @dsquintana that walks you through how to set up an academic theme blogdown site step by step. It is actually possible to get in done in less than an hour.  https://t.co/h8ykgyPD2G  [&#8618;](https://twitter.com/xieyihui/status/1204558487256059904)

<!-- -->


> **We are R-Ladies** (@WeAreRLadies; 12/0): Have I convinced you to try blogdown?? Good… but now I hear you ask... how? Here are my fav tutorials. The RMarkdown whisperer @apreshill is a blogdown queen. She literally wrote the book https://t.co/RtGZ67eiif and the tuts on her blog are awesome https://t.co/sDvPOnFduG  1/n https://t.co/aGJxSjTZZD  [&#8618;](https://twitter.com/xieyihui/status/1204558036670402560)

<!-- -->


> **Sébastien Rochette** (@StatnMap; 8/2): And again, thanks @xieyihui  ! If, for any reason, you like difficulty and you want to publish your {blogdown} website on github, with a custom domain, but without Netlify, @xieyihui is here. Guides are always well detailed. Thanks. https://t.co/B1wZ3FuIhi  [&#8618;](https://twitter.com/xieyihui/status/1202949412923809793)

<!-- -->


> **Jon Harmon** (@JonTheGeek; 7/1): @TazPoltorak I use @Netlify with #blogdown. See https://t.co/mb2EgWSrrB for setup instructions. Be sure to tag @drob when you post your first post, and he'll spread the word! Also see @R4DScommunity's #RFeedbackFriday hashtag. Good luck!  [&#8618;](https://twitter.com/xieyihui/status/1202574296893267974)

<!-- -->


> **We are R-Ladies** (@WeAreRLadies; 6/1): @apreshill If you like to set yourself a challenge @apreshill ‘s Summer of Blogdown tutorial might be worth a look. https://t.co/QfJ0qEElEO She set it up for her @RStudio interns last summer and the example blog is Saved by the Bell themed!!  [&#8618;](https://twitter.com/xieyihui/status/1204558357111005185)

<!-- -->


> **We are R-Ladies** (@WeAreRLadies; 5/0): Do you need some blogdown inspiration? Check out the @openscapes site  https://t.co/i7xY1OLIue by @juliesquid. Or @rebeccabarter https://t.co/J9VFJJ9aP2 has the best walk through tutorials on her blog.  [&#8618;](https://twitter.com/xieyihui/status/1204523374044516352)

<!-- -->


> **We are R-Ladies** (@WeAreRLadies; 4/0): And finally, while not `blogdown`, I worked with my dear friend Charles @cantabile on this `distill` site for the AIMOS conference in Melbourne. https://t.co/VTofrWi9HH 5/n  [&#8618;](https://twitter.com/xieyihui/status/1204522492787712000)

<!-- -->


> **R Data Berlin** (@rdataberlin; 3/2): Build your personal page with the help of {blogdown} and the help of @GoHugoIO templates in #rstats! 
> >
> Learn how: https://t.co/oOzhwA6vsa by @xieyihui, @ProQuesAsker and @apreshill https://t.co/w5WdcEb0aR  [&#8618;](https://twitter.com/xieyihui/status/1202865525841440768)

<!-- -->


> **Tiago Ventura** (@_Tiagoventura; 3/1): I am preparing materials for a workshop, and I am planning to build a full static page for the course. Any suggestions of examples using #rstats and #blogdown?  [&#8618;](https://twitter.com/xieyihui/status/1202398802243719168)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 1/1): Netlify not deploying after blogdown pushes to github #tidyverse #rstats https://t.co/UtRtZ5ANph  [&#8618;](https://twitter.com/xieyihui/status/1204093401534218242)

<!-- -->


> **atusy** (@Atsushi776; 1/0): @ymn753 そうだったんですね。私が唯一まともに使った機会は
> >
> Roxygen2タグまとめ
> https://t.co/Gpi7o0rYEj
> >
> くらいですね。使った理由もblogdownでDTが辛すぎただけという（笑）
> またaggregationとか便利そうな昨日全然使えてないです。  [&#8618;](https://twitter.com/xieyihui/status/1203236993108344834)

<!-- -->


> **Ed** (@ed_berry; 1/0): @r_users_leeds I don't seem to be able to get my Google fonts to work :(. Any pointers on how to fix this welcome. 
> >
> I currently specify the fonts in some custom .css like this. Works just fine locally and the .css in the folder with my slides where I run blogdown::build_dir('static/talks/') https://t.co/3OHlOEgkLD  [&#8618;](https://twitter.com/xieyihui/status/1202640478157582336)

<!-- -->


> **Javier Elío** (@Elio_Javi; 1/0): Finally, I’ve used #blogdown and #Netlify for creating my first personal website (https://t.co/IBvl3U5NLZ). Thanks @georgecushen @source_themes for your fantastic job which makes things easier for beginners. 👏👏👏 (4/5) https://t.co/JOrcqFzIRU  [&#8618;](https://twitter.com/xieyihui/status/1202899255482109952)

<!-- -->


> **Tiago Ventura** (@_Tiagoventura; 1/0): @cenevivaricardo Ambos sao pacotes de R que criam webpages usando rmardkown. Bookdown cria livros e blogdown sites e blogs. Ambos foram escritos pelo @xieyihui e possuem livros on-line disponiveis. Sao excelentes!
> https://t.co/Peap4DstI1
> https://t.co/SUSAmStEKz  [&#8618;](https://twitter.com/xieyihui/status/1202406207585210368)

<!-- -->


> **Ricardo Ceneviva** (@cenevivaricardo; 1/0): @_Tiagoventura eu não conheço o bookdown ou o blogdown. vou dar uma fuçada para futuros cursos. você recomenda algum tutorial ou coisa do tipo?
> >
> ps: eu sou do tempo que a gente usava o xcode p/ fazer blogs e páginas pessoais.  [&#8618;](https://twitter.com/xieyihui/status/1202405178747555840)

<!-- -->


# bookdown

> **Matt McBee** (@TunnelOfFire; 7/0): What sweet relief: the publisher is okay with me submitting my book in (Bookdown-created) LaTeX code. I was worried that I was going to have to move all the text, equations, figures, etc. into Word to meet their style requirements. https://t.co/7cgV3xPyqQ  [&#8618;](https://twitter.com/xieyihui/status/1203014141117636608)

<!-- -->


> **Dr Katherine Hepworth** (@khepworth; 4/0): First day at #DHDownunder2019 and 🤯 D3.js, C3.js, RNotebooks and RMarkdown with bookdown and htmlwidgets packages. OMG. #help #yay  [&#8618;](https://twitter.com/xieyihui/status/1203930305469399041)

<!-- -->


> **心理的に柔軟なクジラ** (@matsuchiy; 4/0): twitterで日本語でbookdownのことつぶやいてただけなのに，いつの間にか作者がツイート見つけて，検証してバグfixしてそのことをtwitterリプライで教えてくれて，更新プロセスに報告者の1人としてとりあげてまでくれたよ！Yihui様偉大すぎる https://t.co/6SLfGoPANG  [&#8618;](https://twitter.com/xieyihui/status/1202977438990340097)

<!-- -->


> **Yihui Xie** (@xieyihui; 2/3): @matsuchiy After multiple other users reported the same issue, I finally started my Windows machine and tested it. I was able to reproduce the issue and just fixed it on Github. Please test with remotes::install_github(c('rstudio/rmarkdown', 'rstudio/bookdown')). Thanks again!  [&#8618;](https://twitter.com/xieyihui/status/1202721862767251458)

<!-- -->


> **Deirdre Toher** (@dtoher; 2/0): @alistairm @APD_UWE @RussBrookes1981 @xlearn @Jisc I've been looking at using rmarkdown approaches (down as "further investigation")  for the following reasons:
> 1. easy to output to different formats
> 2. embed code &amp; results into the document
> 3. bookdown allows for near LaTeX control with output to html; pdf; mobi; epub and word.  [&#8618;](https://twitter.com/xieyihui/status/1204041235700297735)

<!-- -->


> **Jen Betton** (@JenBetton; 2/0): #Bookdown - the sense of blah you get when you finish a good book.  [&#8618;](https://twitter.com/xieyihui/status/1203849739701301248)

<!-- -->


> **Will Landau** (@wmlandau; 2/0): @noamross @MilesMcBain @toph Yeah, I have actually been thinking about moving many of the manual's existing examples to a separate bookdown project. There is already a natural separation.  [&#8618;](https://twitter.com/xieyihui/status/1203367328567713795)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 1/1): enc2utf8 issue with render_book() from bookdown #tidyverse #rstats https://t.co/hzAojmW6q3  [&#8618;](https://twitter.com/xieyihui/status/1203240289042911232)

<!-- -->


> **Brandon Walker** (@BranWalkerData; 1/1): @Data_manc All the books on https://t.co/sE1wFvJxGy are free and really well written in my opinion  [&#8618;](https://twitter.com/xieyihui/status/1203118508202250246)

<!-- -->


> **📈 𝙻𝚎𝚗 𝙺𝚒𝚎𝚏𝚎𝚛 📊** (@lenkiefer; 1/1): You get what you get and you don't get upset
> >
> (unless you submit a pull request)
> >
> #rstats bookdown
> >
> https://t.co/Fnn0TKILxZ https://t.co/LtPeNOvSQr  [&#8618;](https://twitter.com/xieyihui/status/1202975505403777026)

<!-- -->


> **James Bartlett** (@JamesEBartlett; 1/0): @maddi_pow I always wish I had come across YaRrr when I was first learning R. Great resource for learning the code and getting results early. +1 to R for data science which someone has already recommended. https://t.co/xUQH5rmZiO  [&#8618;](https://twitter.com/xieyihui/status/1204344947656286209)

<!-- -->


> **Carlos Ramirez** (@caramirezal; 1/0): https://t.co/c0IwSQdGa7  [&#8618;](https://twitter.com/xieyihui/status/1204087633590263811)

<!-- -->


> **Roxana Noelia** (@data_datum; 1/0): Making Books with R Markdown https://t.co/FsQb31zfkX  [&#8618;](https://twitter.com/xieyihui/status/1203486936016596997)

<!-- -->


> **心理的に柔軟なクジラ** (@matsuchiy; 1/0): @xieyihui Thank you for fixing the issue and telling me that! I just have tested the bookdown ver 0.16.5 and checked that it moved perfectly without a section header on Windows &amp; Japanese environment.  [&#8618;](https://twitter.com/xieyihui/status/1202973633406062594)

<!-- -->


> **श्रवण वसिष्ठ / Shravan Vasishth** (@shravanvasishth; 1/0): @BodoWinter @jvcasill @RoutledgeLing I bought the Kindle edition, it's better than Google books in this case. O'Reilly allows one to buy pdfs, I wish  other publishers would allow that too. (BTW, our upcoming books will be always available free in bookdown format.)  [&#8618;](https://twitter.com/xieyihui/status/1202588498781446146)

<!-- -->


> **Tiago Ventura** (@_Tiagoventura; 1/0): @cenevivaricardo Este é feito com bookdown. É mais um formato de livro, do que uma página. Passei o dia brincando com isso, e pode ser uma opção. Valeu Ricardo!  [&#8618;](https://twitter.com/xieyihui/status/1202404114266767360)

<!-- -->


> **Tiago Ventura** (@_Tiagoventura; 1/0): @meirelesff Pois é. O do Barbera está no topo da minha lista. É muito simples e eficiente. Uma outra opção era trabalhar em um bookdown. Valeu Fernando!  [&#8618;](https://twitter.com/xieyihui/status/1202403875304685569)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): how to insert image above bookdown table of contents #tidyverse #rstats https://t.co/EFi2Pfe1Rf  [&#8618;](https://twitter.com/xieyihui/status/1203005026236542976)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): best way to run child markdowns and/or bookdown chapters interactively in Rstudio? #tidyverse #rstats https://t.co/Pg4olEzJ2d  [&#8618;](https://twitter.com/xieyihui/status/1202377097341210624)

<!-- -->


# knitr

> **Richard D. Morey** (@richarddmorey; 11/5): I've created a new Stack Overflow question: "How to sequentially output partial (base r) plots in rmarkdown/knitr?" https://t.co/LSbxCpek3b #rmarkdown #rstats (would appreciate a look @xieyihui if you have time)  [&#8618;](https://twitter.com/xieyihui/status/1202261694149472256)

<!-- -->


> **Jesse Lecy** (@jesse_lecy; 4/2): @thosjleeper @rstudio "Knit" and "Run Document" make it easy to deploy the knitr / pandoc / shiny packages core functionality quickly without being burdened with syntax. 
> >
> I also like being able to add HTML and CSS throughout the documents and RMD figures out what is what on the fly  [&#8618;](https://twitter.com/xieyihui/status/1202339486098542593)

<!-- -->


> **Moritz Buck** (@MetaMoritz; 4/0): @ctitusbrown And if you do not have enough why not mix it all in a bit of elegant R-coding with knitR!  [&#8618;](https://twitter.com/xieyihui/status/1202632409356886016)

<!-- -->


> **BrodieG** (@BrodieGaslam; 3/1): I thought there'd be an easy way to set device size to fit a coord_fixed #rstats #ggplot2 plot, but I can't find it.  I came up with this.  Anyone know a simpler way?  This is for use in #knitr via fig.width / fig.height.
> >
> 2nd image is desired.
> >
> https://t.co/tSiwF240DV https://t.co/Hf5wdaawY1  [&#8618;](https://twitter.com/xieyihui/status/1202286189895704578)

<!-- -->


> **Benjamin Wolfe** (@BenjaminWolfe; 2/4): Omg this is beautiful.
> >
> I'd read from @xieyihui about code externalization (#rstats code itself—https://t.co/EMMXrxPPLN) but I missed that you can reuse whole Rmd sections, markdown + all.
> >
> This is really, really useful, and not just for vignettes. https://t.co/aGUKnK13rU  [&#8618;](https://twitter.com/xieyihui/status/1202304249654202368)

<!-- -->


> **ando_Roid** (@hirahira2835; 2/0): knitr::kable("latex")を知って、人生無駄にしてたことに気づく  [&#8618;](https://twitter.com/xieyihui/status/1204397238920679424)

<!-- -->


> **Miles McBain** (@MilesMcBain; 2/0): @biomiha Knitr caching is better than nothing. The issue I found is that it encourages you to keep all computation in one Rmd monolith. The Rmd gets hard to follow as a literate programming document, as it accumulates code less directly related to the textual content.  [&#8618;](https://twitter.com/xieyihui/status/1203411861443497984)

<!-- -->


> **Miha Kosmac** (@biomiha; 2/0): @MilesMcBain Miles, would you suggest drake over knitr caching in RStudio? Personally, I've had limited success trying to shoehorn existing .R or .Rmd based workflows to a drake workflow.  [&#8618;](https://twitter.com/xieyihui/status/1203365923693977600)

<!-- -->


> **utku turk** (@theutkuturk; 1/0): This week made me hate LaTeX. Specifically the moment that I gave up finding a way to integrate glossa guidelines, which uses lualatex, to knitr...  [&#8618;](https://twitter.com/xieyihui/status/1202874552927293440)

<!-- -->


> **Vincent Mellor** (@vam103; 1/0): @ctitusbrown For super points, add in knitr and enjoy the joy of debugging in more than one language!
> >
> (Having said that, I seem to use knitr-LaTeX almost constantly)  [&#8618;](https://twitter.com/xieyihui/status/1202838798473654273)

<!-- -->


> **TotallyLegitimateStatistics** (@TotallyLegitim4; 1/0): @xieyihui  #knitr https://t.co/JSZW3ja266  [&#8618;](https://twitter.com/xieyihui/status/1202350119900864512)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): markdown/knitr failure /xcolor.sty file is out of date #tidyverse #rstats https://t.co/jxp10cBPFB  [&#8618;](https://twitter.com/xieyihui/status/1204151373870358528)

<!-- -->


# tinytex

> **Linuxtoy 🐧** (@linuxtoy; 17/6): 把我的写作工具链更新了一下，使用 TinyTeX 替换了 TeX Live。现在，更轻量、易维护、更好用。在我的最新专栏中对此有所描述。(https://t.co/77H1L7MPcP, member only)  [&#8618;](https://twitter.com/xieyihui/status/1204219401043529728)

<!-- -->


> **Akash** (@dynamic_choice; 5/2): Learning to write a LaTex manuscript  in #Rmarkdown and was having problems loading new packages : tlmgr wasn't updating the packages #rstats
> >
> So, found the  "tinytex" package that fixed everything.
> >
> tinytex::install_tinytex() 
> [Ref: https://t.co/EIIJuOtnbV]  [&#8618;](https://twitter.com/xieyihui/status/1203389695419224064)

<!-- -->


> **Zhian N Kamvar** (@ZKamvar; 4/1): Just had to reinstall texlive on my Mac and once again, @xieyihui's tinytex package saves the day with tinytex::reinstall_tinytex()
> >
> #rstats 
> >
> https://t.co/Z3ATxsu2At  [&#8618;](https://twitter.com/xieyihui/status/1202525888031657984)

<!-- -->


> **CRAN Package Updates** (@CRANberriesFeed; 0/1): CRAN updates: MEDseq opalr rqPen tinytex https://t.co/y5W2NTKSXT #rstats  [&#8618;](https://twitter.com/xieyihui/status/1204521728342396928)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): tinytex certificate is out of date? #tidyverse #rstats https://t.co/x0IXPUcznX  [&#8618;](https://twitter.com/xieyihui/status/1204253206055927809)

<!-- -->


# xaringan

> **Rui Barros** (@rui_barros17; 7/0): Tudo feito com o fantástico #xaringan , um package 📦 de R para fazer slides 😊  [&#8618;](https://twitter.com/xieyihui/status/1203317736677560320)

<!-- -->


> **Jo McSweeney** (@jotheobscure; 4/2): @r_users_leeds Great session, thank you for organising! Top tips like using the xaringan package for slides, packageVersion("dplyr") to check you have the most up-to-date package, here package for easy file location and usethis package for integrating with github were brilliant! #rstats  [&#8618;](https://twitter.com/xieyihui/status/1202624393681276929)

<!-- -->


> **Rui Barros** (@rui_barros17; 1/0): Não é assim tão excitante - é um RMarkdown. Mas se quiserem usar o xaringan, pode ser um bom starting point.  [&#8618;](https://twitter.com/xieyihui/status/1203319369691996162)

<!-- -->


