📚 R for Data Science 👤 Hadley Wickham @hadleywickham, Garrett Grolemund @StatGarrett 🔗 https://t.co/o8y97kSYR5 #rstats #datascience https://t.co/DEjUpcnQiT



R posts you might have missed! (@icymi_r; 24853): 📚 R for Data Science > 👤 Hadley Wickham @hadleywickham, Garrett Grolemund @StatGarrett > 🔗 https://t.co/o8y97kSYR5 #rstats #datascience https://t.co/DEjUpcnQiT

Faijan (@FaijanOfficial; 222127): 100+ Data Science, Machine Learning and Artificial Intelligence Cheat Sheets > All Cheats: https://t.co/x8jdAJOcaJ > #MachineLearning #programming #DataScience #RStats #javascript #Python #100DaysOfCode https://t.co/Uzz0C814fz

David Schoch (@schochastics; 20935): just implemented a new edge-bundling algorithm for the edgbundle #rstats package! Paper of original work: https://t.co/Puoxz0wg9q package repo: https://t.co/hgNqjzUbcc https://t.co/Rk8xrixZ13

R posts you might have missed! (@icymi_r; 20027): 📦 marginaleffects • An R package to compute marginal effects, adjusted predictions, contrasts, and marginal means for a wide variety of models > 👤 Vincent Arel-Bundock @VincentAB > 🔗 https://t.co/8aRZdmqmgv #rstats #datascience https://t.co/1LN8ezuX7M

Liam Revell (@phytools_liam; 17332): Co-phylogenetic plot with geological colors in #Rstats #phytools: https://t.co/JiMSe36ZNB https://t.co/ods5jAaoi1

Nick Barrowman (@nbarrowman; 16040): The {vtree} #Rstats package is used to display variable trees, like the one below, describing 34 characters in The Matrix and its sequels. But vtree can also produce a simpler display called a pattern tree. To learn more, take a look at this thread … #DataVisualization 16 https://t.co/mJ90qroQsS

Dr. Ganapathi Pulipaka 🇺🇸 (@gp_pulipaka; 13281): AI Best: Elements of Machine Learning and More. #BigData #Analytics #DataScience #IoT #IIoT #PyTorch #Python #RStats #TensorFlow #Java #JavaScript #ReactJS #GoLang #CloudComputing #Serverless #DataScientist #Linux #Books #Programming #Coding #100DaysofCode https://t.co/7vJxetzc0K https://t.co/x0QnBJGIrR


A/Prof Jenny Richmond (@JenRichmondPhD; 60): @AmazingSpeciali I’ve used both distill and blogdown. Distill is super easy but not so flexible. Blogdown a little more finicky. Resources by @apreshill hold your hand through the process and her Hugo Apero theme is beautiful

lift the travel ban (@SushGopalan; 50): @AmazingSpeciali personal website with Hugo + blogdown!

Harshvardhan (@harshbutjust; 30): @AmazingSpeciali I tried Wordpress, Google Sites and finally settled on Blogdown+Netlify. Gives me the right amount of control and organization

Benjamin WereWolfe 🐺🌘 (@BenjaminWolfe; 22): Thinking of putting together a simple site for a friend’s business. Little to no interactivity for now, no shop needed. Articles, contact, about-us stuff. > I’d like to own the code, not like Wix. Considering #rstats #blogdown. > Any starter template recs for *non-static sites tho?

Ryan Curtis PhD (@RyanM_Curtis; 20): @AmazingSpeciali Hugo-academic + Blogdown + GitHub -> Netlify

Yanina Bellini Saibene (@yabellini; 20): @AmazingSpeciali Personal website. Blogdown -> Netlify.

Katie Press 🤵‍♀️ (@katie_press; 20): @AmazingSpeciali @thomas_mock Hugo/netlify/GitHub+ blogdown

Daijiang Li (@_djli; 20): @JoeyBernhardt How about blogdown? Very easy to set up and maintain. And free unless you want to have your own domain. https://t.co/HvkY1CshyP

Ming (Tommy) Tang (@tangming2005; 12): for whoever uses Hugo for blogdown website. #rstats https://t.co/JeRznoZyV3

JerryWho (@JerryWho; 11): @thomas_mock @AmazingSpeciali Is there any automatic way to push a blog run by #blogdown into medium? That would be a nice tool. #rstats

Athanasia Mowinckel (@DrMowinckels; 10): @jdtrat thanks! So far, I’ve been looking at how blogdown has things set up, but its nice with more examples on how to do this :)

Jim Gruman📚🚵‍♂️⚙ (@jim_gruman; 10): @AmazingSpeciali Hugo/ Netlify w blogdown

Michael Flynn (@flynnpolsci; 10): @mjskay I think the only time I’ve ever actually fiddled with a profile file was for blogdown/hugo for some reason? But never for workflow/coding purposes.

Ivan 🧦 (@privlko; 10): @AsjadNaqvi Hey, have you written anything about blogging with Stata? Integrating code and output into medium, for example? I was previously using blogdown to write posts with R but I lost a tonne of content after the package was updated. Would love to know your workflow on this.


Neil Saunders (@neilfws; 263): @charliejhadley I recently re-wrote mine using R/thesisdown, 24 years later :) https://t.co/D8JdCD0dAl

Devin Judge-Lord (@JudgeLord; 261): @charliejhadley While writing my dissertation in bookdown, I wanted to share chapters as working papers, so I wrote a little script to also render an article version of each chapter (with a different template, headers raised one level, & internal refs to other chapters replaced with bib cites). https://t.co/ZRzkavjwTC

Isabella R. Ghement (@IsabellaGhement; 140): @charliejhadley See https://t.co/A37lmnPYBv for a minimal intro to “child documents” and https://t.co/CNliONobyr for further details.

Burak AYDIN (@Burak4YD1N; 80): Gün geçmiyor ki aramıza bir #R ve #Bookdown sevdalısı daha katılmasın,çiçek💐gibi bir kaynak, Sosyal Bilimlerde #Ölçme için R Kullanımı (Using R for Measurement in the Social Sciences): https://t.co/LrHbxdcEwU

Rob Crystal-Ornelas (@rob_c_ornelas; 71): Posted 🌟Chapter 5🌟 of my book on #metaanalysis in Ecology using #R. This chapter is all about meta-regression: building models, interpreting results, and creating figures. > 🔗 Check out the (in progress) book: https://t.co/CVSL9RUKdP 🔗 The GitHub repo: https://t.co/rI52YTfDKi https://t.co/zNX6sZD8pg

𝙳𝚊𝚟𝚒𝚍 𝚁𝚎𝚒𝚗𝚜𝚝𝚎𝚒𝚗 (@GivingTools; 71): My first official ‘first-authored’ @EAForumPosts with my for my new employer @RethinkPriors: > https://t.co/zCpLHRiOy0 (linked to a dynamic document #bookdown version: , of course: https://t.co/tgNvotJ5Gz)

Ladislas Nalborczyk (@lnalborczyk; 61): @cedricbatailler @charliejhadley @a_rouxsibilon Thanks for tagging me! I did write my PhD thesis in RMarkdown/bookdown, which was both very satisfying and sometimes frustrating. I have everything in a Github repository with some notes (and quite a lot of comments inside the Rmd files): https://t.co/Vp5d6MNvAk > Hope this helps!

Raniere Silva (@rgaiacs; 60): @charliejhadley I’m doing it. 😁 Bookdown makes the compilation of individual chapter faster. GitLab CI help share the last version after push. I set up @hypothes_is for feedback but print it and write with markers was better.

Julio Mulero (@juliomulero; 51): @RaulMarinG @gaussianos Este libro online a mí me gusta mucho, por ejemplo: > https://t.co/N1455w2DNC

Jorge Martinez (@JXM85; 50): @charliejhadley I am using huskydown (https://t.co/ULDFHNvGMP) by @benmarwick. Very grateful for this bookdown template!

Greg Siemon (@gsiemon; 41): @orchid00 @charliejhadley @adamhsparks Writing my Thesis in RMarkdown at the moment with the help of the bookdown package. I built my own template based on University of Queensland’s LaTeX template and a Monash University Thesis template by @robjhyndman. https://t.co/RJIzCmiDUG

Greg Siemon (@gsiemon; 41): @orchid00 @charliejhadley @adamhsparks @robjhyndman Happy to answer any questions. Including potentially useful resources: Blog by @LucyStats for her experience and useful tips: https://t.co/45DQUecHfk RMarkdown Cookbook Book: https://t.co/s4ZBTewUCh Thesisdown Package (for many other templates): https://t.co/EWvPW5HZcn

ςคгɭ๏ร คภ๔гєร ץคภєร (@keynes37; 40): @sientifiko1 https://t.co/X2oEZUMItc tambien esta upfie (con python). Por el lado mas formal y sin ejemplos de R y Python voy con Stock & Watson y también no dejo de consultar a wooldridge. > Hay un bookdown solo r de https://t.co/9YBY3ogHhb

Espacio Muestral (@espaciomuestral; 32): Te recomendamos 👉R Markdown: The Definitive Guide 📕 > Una excelente guía para aprender #Markdown en #R > https://t.co/kxI3t4t7iG

Yann Ryan (@lievesofgrass; 30): https://t.co/2SswiZ1Iae Small but I think useful update to my book on using R to work with newspaper data: now contains a short tutorial on bulk downloading titles from their online repository

Katerina Drakoulaki (@KDrakoulaki; 30): @charliejhadley 🙋‍♀️I did - still considering whether I’ll put the whole thing on github. It’s been a process, but it’s great if working towards #reproducibility. Also, it’s really good-looking! I still haven’t figured out how to include other languages without much hassle. #bookdown definitely

Joseph Casillas (@jvcasill; 30): @tjmahr I just did something similar for a multinomial (soft max) model. I was stumped for awhile and then I found a relevant chapter in @SolomonKurz bookdown of the Kruschke book. Life saver.

Ville Karhunen (@karhunen_v; 30): @charliejhadley I did! This helped me a lot: https://t.co/89uaXYgKrb - .docx files of separate chapters by bookdown::preview_chapter

Jake Mann (@jakepmann; 30): @peteturton85 If you need to do a meta-analysis too, I can’t recommend this highly enough: https://t.co/wCu5EWRCAf

ghoulsh (@julesh; 20): Hm, if this can be copied directly into the Bookdown code and it just works then I’ll be really quite happy… although it might not be such a good idea to have an external dependency like that… https://t.co/dXdcamt76d

Alton Russell (@altonrus; 20): @charliejhadley Yes in bookdown, submitted this Jan. Lmk if another example would help you and i can share the GitHub repo

Dr Rachael Lappan (@RachaelLappan; 20): @jimjam_slam @charliejhadley So did I, using @jimjam_slam’s template 😁 Though it was most effective for me (and supervisors) to do the writing and receive feedback in Word, then format the finalised chapter in Bookdown

Devin Judge-Lord (@JudgeLord; 20): @charliejhadley There is probably a better pandoc solution, but it worked 🤷 > Overall, I can’t praise bookdown enough.

Roman M. Link (@RomanMLink; 20): @charliejhadley I wrote mine in bookdown if that counts. I made a nice template that unfortunately stopped working a while ago, likely due to changes in LaTeX packages.

Martin Monkman (@monkmanmh; 20): @JamesSteeleII The RMarkdown Cookbook by @xieyihui @EmilyRiederer @chrisderv can’t be beat https://t.co/n7CA6Bdqnc

Aimer_G-Diaz (@EvolvingVir; 11): Primer anuncio de post en el bookdown (también disponible en la página de Facebook) > ¿Qué es la Zombificación viral? > Inicio de la independencia de Facebook, bye Zuckerberg https://t.co/eOVraGo4FN https://t.co/PmtX8QcMud

tidyverse tweets (@tidyversetweets; 11): Bookdown bs4_book - changing h3 color #tidyverse #rstats https://t.co/WyrFfcTWlI

memovocabFR (@memovocab_fr; 11): [Livre] Pour celles et ceux qui souhaiteraient apprendre à réaliser des méta-analyses avec R, une excellente ressource ici (disponible en ligne) : https://t.co/qtJN1ZxMQ3

Tim Hosgood (@tim_hosgood; 10): @julesh this should work, but you can also just export the latex code and get bookdown to process this (which i can explain how to do!)

Thom Baguley (@seriousstats; 10): @lnalborczyk @SolomonKurz has lots of ggplot code for Krushke’s book https://t.co/XAhxWtymX8

Peder M Isager (@peder_isager; 10): @charliejhadley Currently trying to using the bookdown package! It was convenient since I had already written all the individual chapter papers in papaja. Biggest challenge for me has been to get bookdown to play nice with my reference list, and not understanding any of the errors it throws me.

Parvathy (@Parvathyb21; 10): @charliejhadley I wrote mine in bookdown.

Bayuk Nusantara (@bayuknusantara; 10): Statistical Tools for Causal Inference https://t.co/2pSTBBoZUN #rmarkdown #bookdown

Bayuk Nusantara (@bayuknusantara; 10): 2021 Introduction to Cognitive Modeling https://t.co/fKNPdoPgg3 #rmarkdown #bookdown

Bayuk Nusantara (@bayuknusantara; 10): Data Science for Psychologists https://t.co/NMJaKeY8c3 #rmarkdown #bookdown

Vikram_Singh Rawat (@Guru_GyanKhoji; 0/2): DevOps for Data Science (working title) https://t.co/ElBN5DbYt4 #rmarkdown #bookdown > #RStats #Python

tidyverse tweets (@tidyversetweets; 0/1): Creating a counter that exists across all .rmd files in Bookdown. #tidyverse #rstats https://t.co/mIij96WvJt

tidyverse tweets (@tidyversetweets; 0/1): Combine bookdown project with separate Rmd files #tidyverse #rstats https://t.co/EHglDrDAbx


Joyce Robbins (@jtrnyc; 325): Is there a tool for converting #rstats matrices to #tex / #mathjax so they appear in rendered document as properly formatted matrices? Seems like something that should exist. #knitr #rmarkdown https://t.co/0MsTqbIj9V

Nathan Lane (@straightedge; 270): Honestly don’t do it (write a thesis in RMarkdown). > I say it as a fan of R + markdown. > I have a couple large papers written in it. > It’s a time black hole. Layers of complexity where you must troubleshoot interactions between LaTeX errors + R libraries + knitr. https://t.co/sPhuFEoDDT

tj mahr, friendly ghost 👻 (@tjmahr; 101): hmmm how can i get knitr to delete everything in a figures folder whenever it runs so i don’t have old unnamed-chunk-1.pngs piling up?

Joyce Robbins (@jtrnyc; 82): Expanding on this, if you want multiple matrices in a single line, this works. #rstats #rmarkdown #knitr #latexhandy https://t.co/EFanOrleqZ https://t.co/sbcEnrU8gW

Charlie 👩‍💻 (@charliejhadley; 71): The knitr::purl() function converts an .Rmd to an R script and it’s lovely. > I swear there’s a keyboard shortcut for doing it in RStudio that I’ve used by mistake before… am I misremembering? > (Yes, I know about {shrtcts}) https://t.co/sMogET4T9g

Brenton Wiernik 🏳️‍🌈 (@bmwiernik; 50): @IsabellaGhement @charliejhadley knitr::spin()

Dr. Christian DiCanio (@ctdicanio; 30): So, is the philosophy of knitr that you always need to compile code within blocks? I just struggled for an hour with sjPlot() to plot lmer output as html. I got it to work but it does not integrate with knitr. > End goal: I want to print my saved stat output, not rerun the models.

tj mahr, friendly ghost 👻 (@tjmahr; 20): i have my own knitting function so i made up a new knitr knit option and some code that will clear out the figures folder before knitting https://t.co/odTUW5mHqp

tj mahr, friendly ghost 👻 (@tjmahr; 20): @ctdicanio my first couple of papers and dissertation would fit models in .R files and read in the .rds files and describe them in knitr. (It’s still how I work but I use the targets package to manage workflows.) I’ve never messed with caching in knitr though.

Joseph Casillas (@jvcasill; 20): @ctdicanio I usually save any model that takes longer than a few seconds. You can also cache knitr chunks (cache=TRUE)

Dr. Christian DiCanio (@ctdicanio; 10): Reasons why you might not want to rerun your models in using knitr: > 1. GAMMs. They take a long time. It is frankly stupid to rerun them just to print the output to html. What if you want to change the html format? > 2. BRMS. See above. > 3. Why are tables complicated?

Ken Butler (@KenButler12; 10): @SaraWuitchik @rstatstweet I solved this (it was an unrelated issue). > In case anyone cares what it is, I wanted to invite my students to search for “r \t”, which I put in typewriter font as r \t. Except that knitr now looks for and fails to find a variable called \t, because this is inline R code.

Jisca Huisman (@HuismanJisca; 10): @Lluis_Revilla @DrMowinckels @djnavarro This may or may not be true for markdown::render, but is not true for knitr::knit > When trying to find back the stackoverflow thread about this, I came across the below, which may be exactly what I need. So, thanks! > https://t.co/aCtkUPP1NB

tidyverse tweets (@tidyversetweets; 0/1): Change the style of chapters (sections) of the .pdf document from rstudio with knitr PACKAGE LATEX “titlesec” #tidyverse #rstats https://t.co/X5n40mRbZH


Dados de Laplace ∆(🎲) | Javier Álvarez Liébana (@DadosdeLaplace; 358): 📦 No sé si conocéis el paquete {xaringan}, super útil para docentes que quieran combinar texto y #latex pero también código #RStats en sus diapositivas de clase, también para investigadores que quieran presentar datos y código 👨🏻‍🏫 #TwitterEstadística > https://t.co/ZtB9DL0594

Jason Haw (黃傑順) (@jasonhaw; 150): Highlights of Second Year Term 1: - Why not generalized gamma? (Seriously, why not?) - Finally understood maximum likelihood estimation - Digging through all my high school/undergrad calculus lessons - Finally figured out xaringan on RStudio [↪](https://twitter.com/jasonhaw/status/1452643312221917184)

Ricardo Perdiz (@ricoperdiz; 114): Apresentações #xaringan de minha oficina “Análise de dados NIR em ambiente R” agora disponíveis em meu blog. 😎😎😎 https://t.co/OmhgnT4zHd #RStats #xaringan @imbrozio @FlaviaDelSan @durgante_flavia @NoraOleas @lucasfbacci @scaphyglottis @f_farronay

Dados de Laplace ∆(🎲) | Javier Álvarez Liébana (@DadosdeLaplace; 70): Por si queréis ver un ejemplo os he hecho un ejemplo cutre de pocas diapositivas con algunas mejoras al {xaringan} original > 💻 Aquí el código del archivo .Rmd (R + texto + fórmulas + html): https://t.co/XpGp6vvZc6 > 👨🏻‍🏫 Aquí el resultado: https://t.co/TO5wDJ42ir

Garrick Aden-Buie (@grrrck; 40): @yoniceedee You’re welcome! And if you don’t like copying functions out of blog posts, the good news is that @JohnHelveston and I have been collaborating on {xaringanBuilder} to help build xaringan slides into any output format you want 😎

Zaeen de Souza (@zaeendesouza; 40): That said, I’m using Xaringan for the 2nd time ever today, and my mind is 🤯by how good this is!!!

Yannis Galanakis (@YannisGalanakis; 32): Hi #EconTwitter #rstats, 💡💎Do you want awesome #html5 #xaringan slides? ⌛️Are you running out of time and skipping your #literature slide? > Here is an example to make it interactive, interesting and fun using a #treemap structure 👇 https://t.co/3yJQfx96LY

yoni sidi (@yoniceedee; 30): @grrrck https://t.co/aG5FBZrLcm https://t.co/EGPoQSwiWX

Jose Maria Echave Sanz (@assesslife; 13): #Rstats help needed 🆘 Is there any way to use a single chunk with multiple ggplot in Xaringan and take each chunk output in a separate slide?

Zaeen de Souza (@zaeendesouza; 12): Good people of #rstats twitter: how does one export a Xaringan deck with high quality images? Printing to pdf drops the image quality SO much :(

Zoë Turner (@Letxuga007; 11): @dgkeyes @_johnmackintosh For work I do data manipulations in #rstats now. I used to do it in SQL as that’s all I had available as a scripted language and using R means I can get the data, clean it then visualise it. For fun I build websites in distill/Hugo Apéro and slides in xaringan 😃

Code (@1Coderisk3; 10): @mdancho84 R xaringan best

Diego souza 🇮🇱🥋🩸 (@diego_kizz; 10): @Neshastore Meu irmão que Xaringan é esse tá doido

CUI Jingmeng (@CUI_Jingmeng; 10): @pholme @cxdig Haha thanks but I should give this credit to the authors of remark.js and xaringan. I really like this style.

tidyverse tweets (@tidyversetweets; 0/1): Moonrider not loading in Xaringan #tidyverse #rstats https://t.co/Dh9qkrHnZE


R Weekly Live (@rweekly_live; 24): Turn an Ordered List on an HTML Page into a Collapsible FAQ List @xieyihui #rstats #datascience https://t.co/53zaQBtRR6