#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 βͺ
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 βͺ
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 βͺ
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 βͺ
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 βͺ
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 βͺ
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 βͺ
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 βͺ
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 βͺ
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… βͺ
tidyverse tweets (@tidyversetweets; 1/2): blogdown - R plots get overwritten by latest document #tidyverse #rstats https://t.co/KGueLxywra βͺ
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! βͺ
#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 βͺ
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 βͺ
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) βͺ
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!) βͺ
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 βͺ
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 callingPaginate
. #tidyverse #rstats https://t.co/VQ8z0LXNr8 βͺ
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 βͺ
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 βͺ
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. βͺ
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 βͺ
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 βͺ
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. βͺ
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. βͺ
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 βͺ
Ed Jegasothy (@edjegasothy; 2/0): @K_Sheldrick @AndrewHayen Rmarkdown/bookdown is the way to go imo.
https://t.co/0PX5CS6V46 βͺ
π³ππππ πππππππππ (@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 βͺ
tidyverse tweets (@tidyversetweets; 1/2): How can I make footnote works in Rmarkdown bookdown with sty #tidyverse #rstats https://t.co/bJyn46iMfE βͺ
π³ππππ πππππππππ (@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? βͺ
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 βͺ
Michele M Tobias, PhD (@MicheleTobias; 1/0): 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; 1/0): @AFredston Statistical rethinking recoded with brms by Solomon Kurz has some examples https://t.co/2rnDlr08M2 βͺ
Elizaveta (@Elizave89156212; 1/0): @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; 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 βͺ
Dave Braze (@davidbraze; 11/2): Here are my typical knitr defaults for Rmarkdown based reports
#RStats https://t.co/JAsx69sVL0 βͺ
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 βͺ
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;} βͺ
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… βͺ
Guilherme Jacob (@guijacob91; 4/0): @tomecicuta knitr + kablExtra Γ© o meu segredo βͺ
jos (@JosiahParry; 3/0): @wouldeye125 Just comment with #β and use knitr::spin() βͺ
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 π€ βͺ
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 βͺ
atusy (@Atsushi776; 2/0): knitrγγγ³γγ³γγ«γΉγ―γ©γγγ§ζΈγη΄γγγγͺγβ¦β¦γ βͺ
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. βͺ
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. βͺ
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 βͺ
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; 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 βͺ
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. βͺ
Simone Secchi (@admsimat; 1/0): @id_func Conosci TinyTeX? Non Γ¨ male, ma io preferisco sempre una installazione completa. βͺ
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 βͺ
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. βͺ
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 βͺ
Will Wheeler (@willwheels; 2/0): @AllbriteAllday @Andrew___Baker @ramattheis @wytham88 I need a serious xaringan tutorial βͺ
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 βͺ
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 π βͺ
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. βͺ
Jonah Gelbach (@gelbach; 2/0): @Andrew___Baker @Apoorva__Lal everyone was dm-chatting about that
“like what’s with his xaringan rendering” βͺ
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 βͺ
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 βͺ