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

2022/01/23

#rstats

Dirk Eddelbuettel (@eddelbuettel; 1477271): 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

Hadley Wickham (@hadleywickham; 32217): 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

R Function A Day (@rfunctionaday; 29241): 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

Kyle Cuilla (@kc_analytics; 19826): πŸ“ 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

Abhinav Dubey (@_Appremoo_Here; 150108): 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

blogdown

Gabriela de Queiroz (@gdequeiroz; 72): @abhi1thakur You can always use #rstats. This post by @apreshill is πŸ’―: https://t.co/akYIwILqkc Also check the #hugoapero

Big Book of R (250+ free R programming books) (@BigBookofR; 64): blogdown Creating Websites with R Markdown by Yihui Xie, Amber Thomas and Alison Presmanes Hill > https://t.co/Oej6NCsMLE #RStats

Big Book of R (250+ free R programming books) (@BigBookofR; 22): blogdown Creating Websites with R Markdown by Yihui Xie, Amber Thomas and Alison Presmanes Hill > https://t.co/Oej6NCbbU6 #RStats

Jennifer K. Houchins (@TooSweetGeek; 20): 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

The Bubbles Tickle My Tchaikovsky (@robertk_anger; 20): @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…

tidyverse tweets (@tidyversetweets; 12): blogdown - R plots get overwritten by latest document #tidyverse #rstats https://t.co/KGueLxywra

Hugo (@heyitsmehugo; 12): 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!

#rstats πŸ€– (@rstatsvideo; 11): πŸ“Ί New #rstatsvideo: Creating Personal Website using R blogdown package by Aarathy Babu β–Ά R-Ladies Abuja (@RLadiesAbuja) #rstats πŸ”— https://t.co/ymqy3K1G0b

MickaΓ«l CANOUIL (@MickaelCanouil; 10): @heyitsmehugo @rstats_tweets For short, `blogdown::check_site()Λ‹ should tell you everything you need to know/do. > https://t.co/wsmWBXlWsW

MickaΓ«l CANOUIL (@MickaelCanouil; 10): @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)

Alison Presmanes Hill (@apreshill; 10): @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!)

Cameron Patrick (@camjpatrick; 10): @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

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

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

bookdown

Alessandro Santuz (@alesantuz; 136): Thanks @ExPhysStudent, @lakens, @ChelseaParlett, @GuyProchilo and all the contributors for gifting Everyone the #bookdown “Power Analysis with #Superpower”! https://t.co/QDK9egX34H #rmarkdown #rstats

chrisvarghese (@chrisvarghese98; 106): @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

Michele M Tobias, PhD (@MicheleTobias; 65): 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.

SΓ©bastien Rochette (@StatnMap; 30): @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

Lisa DeBruine (@LisaDeBruine; 30): 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

Lisa DeBruine (@LisaDeBruine; 20): 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.

Theresa Smith πŸ’‰πŸ’‰πŸ’‰ (@TheresaRSmith; 20): @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.

Dr. Sarah-Elizabeth Byosiere (@sebyosiere; 20): @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

Ed Jegasothy (@edjegasothy; 20): @K_Sheldrick @AndrewHayen Rmarkdown/bookdown is the way to go imo. > https://t.co/0PX5CS6V46

π™³πšŠπšŸπš’πš πšπšŽπš’πš—πšœπšπšŽπš’πš— (@GivingTools; 13): 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

tidyverse tweets (@tidyversetweets; 12): How can I make footnote works in Rmarkdown bookdown with sty #tidyverse #rstats https://t.co/bJyn46iMfE

π™³πšŠπšŸπš’πš πšπšŽπš’πš—πšœπšπšŽπš’πš— (@GivingTools; 12): 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?

Roy Williams, MPH (@Rwill235; 10): 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

Michele M Tobias, PhD (@MicheleTobias; 10): I wrote some R code that converts <highlight></highlight> tags in an .Rmd file to <span> 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

Frederico Maioli (@fredericomaioli; 10): @AFredston Statistical rethinking recoded with brms by Solomon Kurz has some examples https://t.co/2rnDlr08M2

Elizaveta (@Elizave89156212; 10): @RamziShib @AltcoinAdvisor_ @CheemsInu oo this awaits you lets outrun the apocalypse to make Elon happy > https://t.co/x8CcTkLCcP

tidyverse tweets (@tidyversetweets; 0/1): Bookdown - Add chapters based on user input parameters #tidyverse #rstats https://t.co/QiqqueephE

tidyverse tweets (@tidyversetweets; 0/1): Changing labels of cross-references on bookdown #tidyverse #rstats https://t.co/6v2JxyyYQb

knitr

Lisa DeBruine (@LisaDeBruine; 132): 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

Dave Braze (@davidbraze; 112): Here are my typical knitr defaults for Rmarkdown based reports > #RStats https://t.co/JAsx69sVL0

Tom Mock (@thomas_mock; 80): @LisaDeBruine Very cool! > knitr introduced a verbatim chunk recently, does that help in your use case? > https://t.co/9DU3qmZaDv

Yihui Xie (@xieyihui; 70): @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;}

Gianluca Baio (@gianlubaio; 50): @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…

Guilherme Jacob (@guijacob91; 40): @tomecicuta knitr + kablExtra Γ© o meu segredo

jos (@JosiahParry; 30): @wouldeye125 Just comment with #’ and use knitr::spin()

Charlotte πŸ‘©β€πŸ’» (@charliejhadley; 30): 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 πŸ€•

Nithin .M (@nithinnithu_m; 22): 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

atusy (@Atsushi776; 20): knitrγ€γŸγ³γŸγ³γƒ•γƒ«γ‚Ήγ‚―γƒ©γƒƒγƒγ§ζ›Έγη›΄γ—γŸγγͺる……。

Michael Flynn (@flynnpolsci; 20): 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.

Fadel Megahed (@FadelMegahed; 10): @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.

Tim Feeney (@Tfeend; 10): @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

tidyverse tweets (@tidyversetweets; 0/1): Knitr intermittently fails to execute readLines on URLs, throws Error in file(con, “r”) : cannot open the connection to <URL> #tidyverse #rstats https://t.co/wjlTAsmvZH

tidyverse tweets (@tidyversetweets; 0/1): Knitr won’t compile PDFs if there are plots #tidyverse #rstats https://t.co/FG9xLiXApo

tidyverse tweets (@tidyversetweets; 0/1): error installing knitr #tidyverse #rstats https://t.co/4Pyd80FhiZ

tidyverse tweets (@tidyversetweets; 0/1): knitr: Add figure notes in .Rmd file #tidyverse #rstats https://t.co/Poy6fXrWRX

pagedown

Alex Albright (@AllbriteAllday; 135): 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

tinytex

Serdar BalcΔ± (@serdarbalci; 20): @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.

Simone Secchi (@admsimat; 10): @id_func Conosci TinyTeX? Non Γ¨ male, ma io preferisco sempre una installazione completa.

xaringan

BHSci_, R & Graphical Art πŸ¦„πŸ‡¨πŸ‡¦πŸŒˆ (@StarTrek_Lt; 80): 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

Lisa Lendway, she/her (@lisalendway; 40): @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.

Alex Albright (@AllbriteAllday; 31): @Andrew___Baker @ramattheis @wytham88 looking into it more… seems like there is a much better way: > https://t.co/ZR8wx9NuXK https://t.co/xLSZM4k433

Will Wheeler (@willwheels; 20): @AllbriteAllday @Andrew___Baker @ramattheis @wytham88 I need a serious xaringan tutorial

Alex Albright (@AllbriteAllday; 20): tagging: xaringan users in case you’ve ever encountered this issue and I can save you some angst > cc: @ramattheis @wytham88 @Andrew___Baker

Alex Albright (@AllbriteAllday; 20): 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 πŸ˜‰

Meghan Harris (@meghansharris; 20): @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.

Jonah Gelbach (@gelbach; 20): @Andrew_Baker @ApoorvaLal everyone was dm-chatting about that > “like what’s with his xaringan rendering”

BHSci_, R & Graphical Art πŸ¦„πŸ‡¨πŸ‡¦πŸŒˆ (@StarTrek_Lt; 10): @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

Dr Ajay Koli (@ajay_kolii; 10): 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