{
  "title": "Lecture slides for my 'Data Science Programming Methods' course STAT 447 from this Fall 2021 at U of Illinois are now accessible via https://t.co/hHewPJY3pl covering shell (incl sed/awk), markdown, git(hub), sql, lots of #Rstats up to packaging, and Docker. Enjoy! https://t.co/Dv6XSO1ZWj",
  "date": "2022-01-23"
}

# #rstats

> **Dirk Eddelbuettel** (@eddelbuettel; 1477/271): Lecture slides for my 'Data Science Programming Methods' course STAT 447 from this Fall 2021 at U of Illinois are now accessible via https://t.co/hHewPJY3pl covering shell (incl sed/awk), markdown, git(hub), sql, lots of #Rstats up to packaging, and Docker.  Enjoy! https://t.co/Dv6XSO1ZWj  [&#8618;](https://twitter.com/eddelbuettel/status/1484910046295306245)

<!-- -->


> **Hadley Wickham** (@hadleywickham; 322/17): We're trying an experiment with acrylic pins over at the RStudio swag store: https://t.co/0e8hRbbvb1. They're fairly limited availability so if you like them let us know so we can order more! #rstats https://t.co/i8xkMlSFoc  [&#8618;](https://twitter.com/hadleywickham/status/1484635495867252736)

<!-- -->


> **R Function A Day** (@rfunctionaday; 292/41): Visualizing data along an Archimedean spiral can efficiently reveal periodic patterns in time series data.
> >
> The {spiral_*} function family from {spiralize} 📦 draws such spiral plots flexibly! 🌀
> >
> https://t.co/5vybsvWv2e
> >
> #rstats #DataScience https://t.co/c168IWhcXL  [&#8618;](https://twitter.com/rfunctionaday/status/1484745033287081984)

<!-- -->


> **Kyle Cuilla** (@kc_analytics; 198/26): 📝 New to the {reactablefmtr} site:
> >
> A step-by-step tutorial on how to build the table shown below!
> >
> https://t.co/1DxnHFjF9l  #rstats #dataviz https://t.co/T8zoTqS1cU  [&#8618;](https://twitter.com/kc_analytics/status/1485006920578744321)

<!-- -->


> **Abhinav Dubey** (@_Appremoo_Here; 150/108): Let me Teach you Gitlab vs GitHub in easy manner!!🤩😳👌🏻
> >
> #ML #DataScience #BigData #Analytics #AI #IIoT #PyTorch #Python #RStats #TensorFlow #JavaScript #ReactJS #CloudComputing  #DataScientist  #Programming #Coding #100DaysofCode #Flutter #Jupyter #DL #NLP #SQL #HTML #MLOps https://t.co/rMIuJY5f9D  [&#8618;](https://twitter.com/_Appremoo_Here/status/1484637542830178304)

<!-- -->


# blogdown

> **Gabriela de Queiroz** (@gdequeiroz; 7/2): @abhi1thakur You can always use #rstats. This post by @apreshill is 💯: https://t.co/akYIwILqkc
> Also check the #hugoapero  [&#8618;](https://twitter.com/gdequeiroz/status/1482843594629079040)

<!-- -->


> **Big Book of R (250+ free R programming books)** (@BigBookofR; 6/4): blogdown Creating Websites with R Markdown by Yihui Xie, Amber Thomas and Alison Presmanes Hill
> >
> https://t.co/Oej6NCsMLE
> #RStats  [&#8618;](https://twitter.com/BigBookofR/status/1483052743346425860)

<!-- -->


> **Big Book of R (250+ free R programming books)** (@BigBookofR; 2/2): blogdown Creating Websites with R Markdown by Yihui Xie, Amber Thomas and Alison Presmanes Hill
> >
> https://t.co/Oej6NCbbU6
> #RStats  [&#8618;](https://twitter.com/BigBookofR/status/1483729660475236353)

<!-- -->


> **Jennifer K. Houchins** (@TooSweetGeek; 2/0): Worked out my favicon issue and added more content to the new website design (e.g., accomplishments, photo gallery, and teaching philosophy). I'm really loving the ease of deploying with 
> @rstudio #blogdown and #hugo themes.
> >
> https://t.co/miECApDkzC  [&#8618;](https://twitter.com/TooSweetGeek/status/1484920370302185476)

<!-- -->


> **The Bubbles Tickle My Tchaikovsky** (@robertk_anger; 2/0): @Evergreen1899 @mfleischhacker1 Du sprichst einem Medium das Recht ab, etwas zu kritisieren.
> >
> Gehts noch?
> >
> Servus und Fleischhacker sind sehr ausgewogen. 
> Hast schon einmal Blogdown mit Sprenger geschaut?
> >
> Dann red ma weiter...  [&#8618;](https://twitter.com/robertk_anger/status/1482819729626697729)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 1/2): blogdown - R plots get overwritten by latest document #tidyverse #rstats https://t.co/KGueLxywra  [&#8618;](https://twitter.com/tidyversetweets/status/1483814564554752004)

<!-- -->


> **Hugo** (@heyitsmehugo; 1/2): Hi, #Rstats folk. I'm having a bit of trouble debugging my #blogdown code to have my website back up. I decided to post my question in the #RStudio Community. If you can spare some time, here's the link: https://t.co/rY6mJtXY8Q   --- Thank you!  [&#8618;](https://twitter.com/heyitsmehugo/status/1483267980431659008)

<!-- -->


> **#rstats 🤖** (@rstatsvideo; 1/1): 📺 New #rstatsvideo: Creating Personal Website using R blogdown package by Aarathy Babu
> ▶ R-Ladies Abuja (@RLadiesAbuja)
> #rstats
> 🔗 https://t.co/ymqy3K1G0b  [&#8618;](https://twitter.com/rstatsvideo/status/1485209784081072134)

<!-- -->


> **Mickaël CANOUIL** (@MickaelCanouil; 1/0): @heyitsmehugo @rstats_tweets For short, `blogdown::check_site()ˋ should tell you everything you need to know/do.
> >
> https://t.co/wsmWBXlWsW  [&#8618;](https://twitter.com/MickaelCanouil/status/1483523195869310976)

<!-- -->


> **Mickaël CANOUIL** (@MickaelCanouil; 1/0): @heyitsmehugo @rstats_tweets There is a `blogdown::build_site()ˋ function (closely related to ˋblogdown::serve_site()`.
> The themes folder is 100 % part of your site. Everything inside is used to build your website.
> You should try an older version of Hugo. (And if the errors remain, open an issue the GitHub)  [&#8618;](https://twitter.com/MickaelCanouil/status/1483596074598211584)

<!-- -->


> **Alison Presmanes Hill** (@apreshill; 1/0): @dailyzad @mariviere1 @andrewheiss I think you can still use Hugo- you’ll just be knitting individual Rmd/qmd files. There will be no replacement for “serving a hugo site” or the high level functions blogdown gives you, but you could still use blogdown as an R package I think  (not tested!)  [&#8618;](https://twitter.com/apreshill/status/1483531583910907904)

<!-- -->


> **Cameron Patrick** (@camjpatrick; 1/0): @AndrewHayen @K_Sheldrick plus either blogdown or distill to create a website or blog from individual Rmd documents. I've used blogdown before, distill is newer and apparently easier to use:
> https://t.co/WTeyBPS5w7  [&#8618;](https://twitter.com/camjpatrick/status/1482940616397193219)

<!-- -->


> **Hugo** (@heyitsmehugo; 0/2): To folks who use #blogdown to build their websites. If you want 2 leave the template folders to help guide you in publishing your posts but don't want them to show in your website, what do you? Is there a way to prevent it from being published? #RStats @RStudioEDU @rstats4ds  [&#8618;](https://twitter.com/heyitsmehugo/status/1482832967244427274)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): How to "unbreak" my blogdown website? Problem in the `themes` folder when calling `Paginate`. #tidyverse #rstats https://t.co/VQ8z0LXNr8  [&#8618;](https://twitter.com/tidyversetweets/status/1482977301746888705)

<!-- -->


# bookdown

> **Alessandro Santuz** (@alesantuz; 13/6): Thanks @ExPhysStudent, @lakens, @ChelseaParlett, @GuyProchilo and all the contributors for gifting Everyone the #bookdown "Power Analysis with #Superpower"! https://t.co/QDK9egX34H
> #rmarkdown #rstats  [&#8618;](https://twitter.com/alesantuz/status/1483421432138850304)

<!-- -->


> **chrisvarghese** (@chrisvarghese98; 10/6): @AlaaEl_Hussuna @germ_red @STAR_Research @MontesinosSanti @DiegoEscarraman @OrlandoRPN @thomaswoodcock @SRAnesthesiaICU @iccvanderhorst @ESCP_studies @vir_dur @efutier @juliomayol @DrJamesGlasbey Meta package for meta analyses in R are my go tos! 
> >
> Excellent guides available 
> >
> Meta-analysis: https://t.co/QtrXKz4QrK  [&#8618;](https://twitter.com/chrisvarghese98/status/1484106973235023878)

<!-- -->


> **Michele M Tobias, PhD** (@MicheleTobias; 6/5): Does anyone know if #rstats bookdown works with the flair package? I'm trying everything I can think of but it just seems to ignore the flair code.  [&#8618;](https://twitter.com/MicheleTobias/status/1484248447880286208)

<!-- -->


> **Sébastien Rochette** (@StatnMap; 3/0): @antoine_fabri @CMastication @rushworth_a @tanyacash21 You can change this behavior. On my side, I changed it by default to get the the same behavior as scripts.
> 👉 https://t.co/dLA0ItUcQa https://t.co/dB7i2tJ0iH  [&#8618;](https://twitter.com/StatnMap/status/1484417138282708993)

<!-- -->


> **Lisa DeBruine** (@LisaDeBruine; 3/0): I'll probably keep working on the custom engine and add it to our #psyteachR bookdown template soon. Right now it just highlights inline code and headers, and probably doesn't work for knitting to PDF. (I can write latex, I just don't like to anymore.)
> >
> https://t.co/rpy19Os55x  [&#8618;](https://twitter.com/LisaDeBruine/status/1484165229999276049)

<!-- -->


> **Lisa DeBruine** (@LisaDeBruine; 2/0): TIL that if you want to have multiple YAML files for bookdown (e.g., to render draft chapters to a different dir), you can't name one of them _bookdown.yml and the other _bookdown_draft.yml. When you render the draft, the draft yml name changes to _bookdown.yml and overwrites it.  [&#8618;](https://twitter.com/LisaDeBruine/status/1484178464563335170)

<!-- -->


> **Theresa Smith 💉💉💉** (@TheresaRSmith; 2/0): @j_l_godwin @vnminin I provide a full set of typed notes (in pdf and accessible html via bookdown) in advance. In class I write on real paper which is projected to the class via a document camera. A strange low-tech hi-tech hybrid! For the life of me, I can't write legibly on an iPad.  [&#8618;](https://twitter.com/TheresaRSmith/status/1483860851690029062)

<!-- -->


> **Dr. Sarah-Elizabeth Byosiere** (@sebyosiere; 2/0): @Lee_Niel @JamAhlDall @LjerkaOstojic @emmatecwyn @ASABeducation 3. I was sent this in an e-mail this week and it looks great! Its by Dena Clink (not sure if she is on Twitter), but the guide looks great and may be what you're looking for (check the Field Labs): https://t.co/wCKncwqS9E  [&#8618;](https://twitter.com/sebyosiere/status/1483216003828006917)

<!-- -->


> **Ed Jegasothy** (@edjegasothy; 2/0): @K_Sheldrick @AndrewHayen Rmarkdown/bookdown is the way to go imo.
> >
> https://t.co/0PX5CS6V46  [&#8618;](https://twitter.com/edjegasothy/status/1482935207661490176)

<!-- -->


> **𝙳𝚊𝚟𝚒𝚍 𝚁𝚎𝚒𝚗𝚜𝚝𝚎𝚒𝚗** (@GivingTools; 1/3): Bookdown: Everyone seems to be going with bs4_book style these days, but I don't really want to waste the horizontal space with outline/headers on both sides. 
> >
> Is there another advantage of bs_4 over #gitbook that I'm missing? 
> >
> #rstats #rmarkdown @xieyihui  [&#8618;](https://twitter.com/GivingTools/status/1483522863919513602)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 1/2): How can I make footnote works in Rmarkdown bookdown with sty #tidyverse #rstats https://t.co/bJyn46iMfE  [&#8618;](https://twitter.com/tidyversetweets/status/1484929179451809792)

<!-- -->


> **𝙳𝚊𝚟𝚒𝚍 𝚁𝚎𝚒𝚗𝚜𝚝𝚎𝚒𝚗** (@GivingTools; 1/2): can @GitBookIO the gui documentation app be nicely integrated with #rstats #rmarkdown and @xieyihui  `bookdown::gitbook:` output? 
> >
> E.g., some content/pages made with Rmd, others with the GUI app?  [&#8618;](https://twitter.com/GivingTools/status/1483521924529627136)

<!-- -->


> **Roy Williams, MPH** (@Rwill235; 1/0): If you ever find yourself needing to create an R script from an R markdown file, you can do so using  the purl() function https://t.co/REm05vEsE3  [&#8618;](https://twitter.com/Rwill235/status/1484624173527965698)

<!-- -->


> **Michele M Tobias, PhD** (@MicheleTobias; 1/0): I wrote some R code that converts &lt;highlight&gt;&lt;/highlight&gt; tags in an .Rmd file to &lt;span&gt; tags with a background color of your choice in the html after you run bookdown. It's clunky, but it works for now. Maybe I'll make a package out of it. https://t.co/zINdH9l4zv https://t.co/Zx7d3Rd3AE  [&#8618;](https://twitter.com/MicheleTobias/status/1484621795034468353)

<!-- -->


> **Frederico Maioli** (@fredericomaioli; 1/0): @AFredston Statistical rethinking recoded with brms by Solomon Kurz has some examples https://t.co/2rnDlr08M2  [&#8618;](https://twitter.com/fredericomaioli/status/1483909944118333446)

<!-- -->


> **Elizaveta** (@Elizave89156212; 1/0): @RamziShib @AltcoinAdvisor_ @CheemsInu oo this awaits you lets outrun the apocalypse to make Elon happy
> >
> https://t.co/x8CcTkLCcP  [&#8618;](https://twitter.com/Elizave89156212/status/1483460050605776904)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): Bookdown - Add chapters based on user input parameters #tidyverse #rstats https://t.co/QiqqueephE  [&#8618;](https://twitter.com/tidyversetweets/status/1483355075321942018)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): Changing labels of cross-references on bookdown #tidyverse #rstats https://t.co/6v2JxyyYQb  [&#8618;](https://twitter.com/tidyversetweets/status/1483131845982273538)

<!-- -->


# knitr

> **Lisa DeBruine** (@LisaDeBruine; 13/2): I often need to show Rmarkdown in teaching books, but it's hard to display verbatim backticks. I made a custom knitr engine to highlight it. You set the knitr engine, include a few custom css styles, and place example markdown in code chunks labelled with md. Details 👇 https://t.co/2l6zoTxobu  [&#8618;](https://twitter.com/LisaDeBruine/status/1484161717873610756)

<!-- -->


> **Dave Braze** (@davidbraze; 11/2): Here are my typical knitr defaults for Rmarkdown based reports
> >
> #RStats https://t.co/JAsx69sVL0  [&#8618;](https://twitter.com/davidbraze/status/1485002924262825986)

<!-- -->


> **Tom Mock** (@thomas_mock; 8/0): @LisaDeBruine Very cool!
> >
> knitr introduced a verbatim chunk recently, does that help in your use case?
> >
> https://t.co/9DU3qmZaDv  [&#8618;](https://twitter.com/thomas_mock/status/1484163199129821184)

<!-- -->


> **Yihui Xie** (@xieyihui; 7/0): @thomas_mock @LisaDeBruine To get syntax highlighting with the verbatim engine, you need to set the `lang` option because knitr doesn't know the content's language, e.g., \`\`\`{verbatim, lang='md'}; then you may also need to define some CSS rules, e.g., .hljs-section {color:#0C07FF;}  [&#8618;](https://twitter.com/xieyihui/status/1484186260935696385)

<!-- -->


> **Gianluca Baio** (@gianlubaio; 5/0): @sdias_stats @tmorris_mrc @Richard_D_Riley I am weird, I know. But Rmd and knitr work really good to typeset maths (and citations etc) in semi-Latex format and then output also to docx with very good results...  [&#8618;](https://twitter.com/gianlubaio/status/1483408904340086784)

<!-- -->


> **Guilherme Jacob** (@guijacob91; 4/0): @tomecicuta knitr + kablExtra é o meu segredo  [&#8618;](https://twitter.com/guijacob91/status/1483808762590908420)

<!-- -->


> **jos** (@JosiahParry; 3/0): @wouldeye125 Just comment with #’ and use knitr::spin()  [&#8618;](https://twitter.com/JosiahParry/status/1483617102410190848)

<!-- -->


> **Charlotte 👩‍💻** (@charliejhadley; 3/0): How we like to think about {rmarkdown} 
> >
> "R Markdown is awesome! It lets you build PDF, HTML, docx, pptx and more! Even entire blogs!"
> >
> ... then, every so often there's a project where you need to manipulate/intercept the whole trifecta; {knitr}, Pandoc and LaTeX 🤕  [&#8618;](https://twitter.com/charliejhadley/status/1483037466764402688)

<!-- -->


> **Nithin .M** (@nithinnithu_m; 2/2): Has anyone used knitr:knit_expand to generate r chunks for ggplot items? I will want to generate r chunks for storing ggplots.. something like this
> For example for each species of penguins 
> >
> #RStats  #rmarkdown #knitr  [&#8618;](https://twitter.com/nithinnithu_m/status/1484341694862852097)

<!-- -->


> **atusy** (@Atsushi776; 2/0): knitr、たびたびフルスクラッチで書き直したくなる……。  [&#8618;](https://twitter.com/Atsushi776/status/1482841192123727873)

<!-- -->


> **Michael Flynn** (@flynnpolsci; 2/0): So for the longest time I had trouble getting knitr::include_graphics("...") to display pictures from a parent directory when compiling Xaringan slides. Turns out including the error argument knitr::inclue_graphics("...", error = FALSE) is the secret sauce.  [&#8618;](https://twitter.com/flynnpolsci/status/1483827913170595840)

<!-- -->


> **Fadel Megahed** (@FadelMegahed; 1/0): @CDavieSTEM @krwpn Yes, that’s what it does in r markdown (see https://t.co/Tu5p7iBsJn). I also like viridis and RColorBrewer pkgs for picking appropriate palettes. Thank you for sharing the blog.  [&#8618;](https://twitter.com/FadelMegahed/status/1483975853973377025)

<!-- -->


> **Tim Feeney** (@Tfeend; 1/0): @gianlubaio @sdias_stats @tmorris_mrc @Richard_D_Riley much prefer Rmd and knitr. BUT working with some people *cough* physicians *cough* on papers limits the options. #notallphysicians  [&#8618;](https://twitter.com/Tfeend/status/1483459508143808513)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): Knitr intermittently fails to execute readLines on URLs, throws Error in file(con, "r") : cannot open the connection to &lt;URL&gt; #tidyverse #rstats https://t.co/wjlTAsmvZH  [&#8618;](https://twitter.com/tidyversetweets/status/1485024404224552963)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): Knitr won't compile PDFs if there are plots #tidyverse #rstats https://t.co/FG9xLiXApo  [&#8618;](https://twitter.com/tidyversetweets/status/1485019100275429376)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): error installing knitr #tidyverse #rstats https://t.co/4Pyd80FhiZ  [&#8618;](https://twitter.com/tidyversetweets/status/1484328583686332421)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): knitr: Add figure notes in .Rmd file #tidyverse #rstats https://t.co/Poy6fXrWRX  [&#8618;](https://twitter.com/tidyversetweets/status/1483186609642160139)

<!-- -->


# pagedown

> **Alex Albright** (@AllbriteAllday; 13/5): Ever print your #rstats xaringan slides to PDFs and notice some of your graphs have mysteriously disappeared?
> >
> Solution: reduce the plot image size ✅
> (the issue is that there's vertical overflow)
> >
> https://t.co/DyI1D14i5u  [&#8618;](https://twitter.com/AllbriteAllday/status/1483600774219198465)

<!-- -->


# tinytex

> **Serdar Balcı** (@serdarbalci; 2/0): @pijanes install.package("tinytex") installs the package to your R library. Then using tinytex::install_tinytex() tinytex package runs and installs a minor version of LaTex. You need that LaTex to generate pdfs.  [&#8618;](https://twitter.com/serdarbalci/status/1484035329439023111)

<!-- -->


> **Simone Secchi** (@admsimat; 1/0): @id_func Conosci TinyTeX? Non è male, ma io preferisco sempre una installazione completa.  [&#8618;](https://twitter.com/admsimat/status/1483169491500609538)

<!-- -->


# xaringan

> **BHSci_, R & Graphical Art 🦄🇨🇦🌈** (@StarTrek_Lt; 8/0): If i was a R instructor, I would get beginners to get in the habit of using Rmd, so that way they can make xaringan slides and stop the power point slides. It's cringe to me to see a R talk with power point  [&#8618;](https://twitter.com/StarTrek_Lt/status/1483489279703543808)

<!-- -->


> **Lisa Lendway, she/her** (@lisalendway; 4/0): @StarTrek_Lt @meghansharris I also still use the regular Rmd rather than xaringan, just because it’s quicker for me. But I’m still quite new to xaringan.  [&#8618;](https://twitter.com/lisalendway/status/1483890465099456515)

<!-- -->


> **Alex Albright** (@AllbriteAllday; 3/1): @Andrew___Baker @ramattheis @wytham88 looking into it more... seems like there is a much better way:
> >
> https://t.co/ZR8wx9NuXK https://t.co/xLSZM4k433  [&#8618;](https://twitter.com/AllbriteAllday/status/1483605488587591681)

<!-- -->


> **Will Wheeler** (@willwheels; 2/0): @AllbriteAllday @Andrew___Baker @ramattheis @wytham88 I need a serious xaringan tutorial  [&#8618;](https://twitter.com/willwheels/status/1483615471807221763)

<!-- -->


> **Alex Albright** (@AllbriteAllday; 2/0): tagging: xaringan users in case you've ever encountered this issue and I can save you some angst
> >
> cc: @ramattheis @wytham88 @Andrew___Baker  [&#8618;](https://twitter.com/AllbriteAllday/status/1483601766415409157)

<!-- -->


> **Alex Albright** (@AllbriteAllday; 2/0): I have encountered this issue a bunch of times when I've wanted to share xaringan slides with people who like to annotate PDFs to give comments (or when I don't want to put slides up live online)
> >
> Very pleased to realize the solution... a few years later 😉  [&#8618;](https://twitter.com/AllbriteAllday/status/1483601415968677890)

<!-- -->


> **Meghan Harris** (@meghansharris; 2/0): @StarTrek_Lt Ouch. Just did this myself. To be fair, I have two job and classes and simply didn’t have enough time to make the slides in xaringan 🤷🏽‍♀️ It happens.  [&#8618;](https://twitter.com/meghansharris/status/1483577586383048711)

<!-- -->


> **Jonah Gelbach** (@gelbach; 2/0): @Andrew___Baker @Apoorva__Lal everyone was dm-chatting about that 
> >
> "like what's with his xaringan rendering"  [&#8618;](https://twitter.com/gelbach/status/1483143205365424131)

<!-- -->


> **BHSci_, R & Graphical Art 🦄🇨🇦🌈** (@StarTrek_Lt; 1/0): @meghansharris when in a rush i'd use Google slides, so the alternative is there. 
> To each there own, just to me R code / topic have a home with xaringan. Time permitting  [&#8618;](https://twitter.com/StarTrek_Lt/status/1483581524188356608)

<!-- -->


> **Dr Ajay Koli** (@ajay_kolii; 1/0): From last several days, I am continuously preparing #xaringan slides. Now, side-effect 🙆‍♂️ is very time U Iook at a beautiful picture, I imagine it with the title of my slides. 😅 https://t.co/0MfQr1zpUN  [&#8618;](https://twitter.com/ajay_kolii/status/1483849822838747139)

<!-- -->


