#rstats
R posts you might have missed! (@icymi_r; 338/75): 📚📊 Data Visualization with R
👤 Robert Kabacoff @kabacoff
🔗 https://t.co/XjomFm3k4g
#rstats #datascience ↪
Frank Harrell (@f2harrell; 269/25): The #RStats Hmisc package on CRAN is 30 years old and still getting a lot of enhancements and bug fixes. @vandy_biostat @VUDataScience https://t.co/qD31xQewUa ↪
Dr. Jean Fan (@JEFworks; 237/49): Just for fun, I use animation to visualize #RNAvelocity with moving arrows on our VeloViz embedding of #singlecell pancreas endocrinogenesis #scRNAseq data with missing intermediate cell states
Code: https://t.co/pN9HMSe8VH
#RStats #BioInformatics #dataviz #bioviz #codetutorial https://t.co/CuskpLwEPb ↪
Sharon Machlis (@sharon000; 232/26): Because of R packages like shiny, sf, leaflet, tidycensus, censusxy, readxl & shinycssloader, I was able to make an interactive app for the new MA redistricting plan in 1 evening! (Well, I was up past 1 am, but still 🤣). Thanks awesome #rstats community https://t.co/l4ZFBujLO4 https://t.co/ROvpV97SHM ↪
Christophe Nicault (@cnicault; 198/18): It’s been a while since I participated in #tidytuesday, time to go back to show the evolution of the fish production, and how the 4 main producers are contributing vs the rest of the world.
Code: https://t.co/Pqie3OtgA3
#rstats #dataviz #r4ds #ggplot https://t.co/7zmP4vPOzk ↪
R Function A Day (@rfunctionaday; 179/39): Sometimes we may wish to center variables (subtract from mean, i.e.) in a dataframe (e.g. to interpret interaction terms in regression analysis).
The {center} function from {datawizard} 📦 does this flexibly 0️⃣
https://t.co/2KaDrn47w4
#rstats #DataScience https://t.co/KcfRGT1qF5 ↪
Kirill Müller (@krlmlr; 174/46): Excited to reveal a new joint project with @antoine_fabri, @JohnCoene, @bikesRdata, @joe_thorley: towards static type checking in #rstats via preprocessing. Think TypeScript -> JavaScript, but for R.
Looking forward to your feedback! Read our blog post: https://t.co/jt4DLAsYve ↪
Dr. Ganapathi Pulipaka 🇺🇸 (@gp_pulipaka; 135/115): NumPy Arrays w/ Python Coding. #BigData #Analytics #DataScience #AI #MachineLearning #IoT #IIoT #PyTorch #Python #RStats #TensorFlow #Java #JavaScript #ReactJS #CloudComputing #Serverless #DataScientist #Linux #Programming #Coding #100DaysofCode
https://t.co/pTxUfhuhE7 https://t.co/3kJdZqDTZW ↪
Dr. Ganapathi Pulipaka 🇺🇸 (@gp_pulipaka; 133/104): Top Books on Artificial Intelligence. #BigData #Analytics #DataScience #IoT #IIoT #PyTorch #Python #RStats #TensorFlow #Java #JavaScript #ReactJS #GoLang #CloudComputing #Serverless #DataScientist #Linux #Books #Programming #Coding #100DaysofCode
https://t.co/drVml7kyqr https://t.co/Wyw9TRljAH ↪
Dr. Ganapathi Pulipaka 🇺🇸 (@gp_pulipaka; 123/103): Free eBooks: Free Data Science Books for the Weekend. #BigData #Analytics #DataScience #IoT #IIoT #PyTorch #Python #RStats #TensorFlow #Java #JavaScript #ReactJS #CloudComputing #Serverless #DataScientist #Linux #Books #Programming #Coding #100DaysofCode
https://t.co/fnevpu4hnP https://t.co/klEMDRVJ8t ↪
Dr. Ganapathi Pulipaka 🇺🇸 (@gp_pulipaka; 119/86): Top 10 Python Packages Every Programmer Should Implement. #BigData #Analytics #DataScience #AI #MachineLearning #IoT #IIoT #Python #RStats #TensorFlow #JavaScript #ReactJS #CloudComputing #Serverless #DataScientist #Linux #Programming #100DaysofCode
https://t.co/ThNcfvoETU https://t.co/UXqqRzGqRq ↪
Giuliano Liguori (@ingliguori; 112/107): #Infographic: #AI Simply Explained
V/ @ingliguori #DigitalTransformation #BigData #Analytics #DataScience #IoT #IIoT #PyTorch #Python #RStats #TensorFlow #Java #JavaScript #ReactJS #CloudComputing #Serverless #DataScientist #Linux #Programming #Coding #100DaysofCode #Deeplearning https://t.co/SR7K02SyOn ↪
blogdown
Irene van den Broek (@JeBentWatJeMeet; 23/5): 5 months after the @RLadiesTunis webinar with @apreshill about blogdown and Hugo apero, I finally made my website🥳: https://t.co/HN3NckXQMW Super thrilled I’ve found a way to share and upload my #rstats wearable data visualizations directly on the web! A work in progress ⚙️☺️ ↪
Alex Spurrier (@alspur; 17/3): Updated my website in less than a day thanks to #blogdown! If you’re looking for a new Hugo theme, I highly recommend @apreshill’s Hugo Apéro: https://t.co/74ruyOXCn3
I still have to update some tags/content, but I’m pretty happy with the refresh:
https://t.co/eYbR1XrgUj ↪
Danielle Navarro (@djnavarro; 17/0): I’m comfortable writing and calling C++ code from R, and have written my own hugo themes that I use with blogdown. The link below is an example of both! The site uses one of my hugo themes and the art uses C++, both managed from R
https://t.co/yV5wZxRxgk ↪
Sean Fobbe (@FobbeSean; 12/3): New personal website and blog! https://t.co/OjPO2HSaGG Open access publications on human rights, more than a dozen open data sets for legal data science, plus open source code! Includes my favorite open source tools :)
Made with #RStats #blogdown #hugo and #hugocoder https://t.co/hn7sQvGTmq ↪
Alex Spurrier (@alspur; 3/1): @apreshill Thank you so much!
I also really appreciated your post on #blogdown in 2021 — it was super helpful for me!!
https://t.co/DQW9LXIWq3 ↪
Espacio Muestral (@espaciomuestral; 2/1): Paquetería blogdown para crear #websites con #Markdown en #R
Aquí su libro en línea 📕💻
👇
https://t.co/82dKAxb6R8 ↪
Lisa DeBruine 🏳️🌈 (@LisaDeBruine; 2/1): Anyone with blogdown (academic) experience know what I’m doing wrong with the dates? I have this in config/params.yaml
date_format: ‘2006-01-31’
But dates are displaying like:
2021-10-410
2021-10-110(both meant to be 2021-10-19)
https://t.co/VaKBkQ1cfh ↪
Rhapsody in blue (@Pallinchen; 2/0): Ich würde eine Impfquote von 150% vorschlagen und blogdown bis zum Todestag. Für wie bescheuert haltet ihr die Bevölkerung eigentlich https://t.co/86O0cCkpXw ↪
Daijiang Li (@_djli; 2/0): @fla_montano Check out blogdown R package. ↪
Houston H. 💉💉🎃 Haynes (@h3techdev; 0/1): @jamie_maguire1 I’m always just this close to creating an #fsharp homage to Hugo, because I know the framework so well from my #Rstats and blogdown static site work. That cartoon is my ballast. ⛵️ 😄 ↪
tidyverse tweets (@tidyversetweets; 0/1): .Rmd not rendering in blogdown #tidyverse #rstats https://t.co/VVvRXGKKS3 ↪
bookdown
Fausto Carcassi (@CarcassiFausto; 259/65): I made from scratch an introductory Bayesian Cognitive Modelling in R course, with a combo of lectures and labs. The focus is not on data fitting, but rather on how we can model humans as Bayesian learners. Here’s the labs organized in an R bookdown. https://t.co/5FQCn8mGgs ↪
Jose M. Fernandez (@UofLEcon; 49/10): For R users who you use publicly available data. You might find this bookdown worth your time. Step by Step to directly import dataset into R from various sources.
https://t.co/7mJNZrRQYi ↪
Robin N. Kok (@robinnkok; 30/10): Free version here: https://t.co/0mobO1dx2q
Messrs. Routledge et al. are rich enough as it is https://t.co/RyzPGHbFp0 ↪
Dr Charles T. Gray ⚔️ (@cantabile; 21/2): Share the moment, @LisaDeBruine @metanutter @h_birkinshaw 🥐
~450 pairwise meta-analytic comparisons laid out in chapters by outcome in a procedurally generated (thank you so much @LisaDeBruine) bookdown. Couldn’t be done without @h_birkinshaw’s data wizadry ❤️ https://t.co/a8anppaOMX ↪
K.Motohashi (@kazukiming; 18/1): Estimator, estimand, estimateの違いがこんがらがったので、この記事を見てすっきり。備忘録。
https://t.co/XFhPhFxZBl ↪
Keith McNulty (@dr_keithmcnulty; 14/4): I have to give major kudos the the constantly developing #rmarkdown ecosystem. Writing and formatting a book about graphs is not straightforward but #bookdown worked a real treat. https://t.co/B3hnmdK7tR #rstats #python #datascience ↪
Rémy Beugnon (@BeugnonRemy; 10/2): 💻Lab book with RStudio 💻
Maybe interesting for someone: a first draft of tutorial to build an #RStudio-based Lab Book recording your daily progress, project and schedule using #bookdown from @xieyihui ⤵️
https://t.co/kqWksIoB6i ↪
David Grubbs (@crcgrubbsd; 10/0): @StarTrek_Lt @rstatstweet @MathiasHarrer @pimcuijpers @Toshi_FRKW @DDEbert @CRC_MathStats Yes, there is an open version of this. •Online version, compiled and hosted with bookdown: https://t.co/K2toeH9D62
•Companion R package: https://t.co/T6Tseoz5A1
•Online power analysis App: https://t.co/nY4cI7ZkG6 ↪
Alvaro Proaño (@proanoA; 9/1): Twitter for Scientists https://t.co/7qyzXnxEH6 #rmarkdown #bookdown ↪
Data Professor (@thedataprof; 7/0): @FrancescoCiull4 @dailydotdev Aside from trying docusaurus, jupyterbook and bookdown are also tools for Python and R users ↪
Espacio Muestral (@espaciomuestral; 6/3): 📗💻Si te gusta aprender y quieres comenzar con #R, te recomendamos el libro en línea: Introducción a estadística con R👇
https://t.co/oLsZVEpajL ↪
Linda Nab 📏 (@lindanab1; 6/2): Has anyone here written their thesis in Bookdown? I’m looking for examples/inspiration 🌟 #phdchat ↪
Corey Yanofsky, spooky statistician (@Corey_Yanofsky; 6/0): one topic i would highlight for your attention – after you’ve picked up the basics of the data types and syntax – is the scoping rules governing the visibility of variables from within functions
when you feel ready for it, here’s a good resource https://t.co/gCTrm81rQo ↪
Hussain Alsalman | حسين السلمان (@Arabian_Analyst; 5/3): @eisa_ayed @mznmel اذا كنت متحدثي لغة R بإمكانك استخدام حزمة 📦 bookdown التي تعتمد على ما ذكره الدكتور @mznmel بل بإمكانك إخراج الرسوم والجداول بشكل ديناميكي من الاكواد نفسها بأي لغةٍ شئت.
هذا كتاب عن الحزمة تم كتابته بالحزمة نفسها
https://t.co/kfZDpqIlia ↪
OpenAcademics (@OpenAcademics; 5/3): @RDReflections @AcademicChatter @AcademicOutlier @MindfulAcademix @AcademicsSay Take a look at this resource: https://t.co/UvoIymEmc8
Best of luck👏🏻☺️ ↪
Tom Mock 💉💉🎉 (@thomas_mock; 5/0): @DrMowinckels To add the content, see:
https://t.co/qBoB5MlAoT ↪
😷 Christopher Peters 💉 (@statwonk; 4/1): @ChristosArgyrop This can be done with Rmarkdown and @rstudio.
One can pass objects between the languages.
https://t.co/JCKohQMRaZ ↪
Ewan Donnachie 🇬🇧🇩🇪 (@ERDonnachie; 4/0): @lindanab1 I’m in the process. The advantage of bookdown is that you can get html and pdf with one source, and I’m also using R to make the tables (kableExtra). The disadvantage is that you need separate code sections for things like the title page. ↪
Ewan Donnachie 🇬🇧🇩🇪 (@ERDonnachie; 3/1): There have been a lot of updates this year in the world of #knitr, #rmarkdown, #bookdown and friends. If you’re using these packages, it’s important to keep up with developments.
This is a good place to start:
https://t.co/o0jnMEyscK ↪
Tom Broekel (@TBroekel; 3/0): @KhoaVuUmn @PBlanchenay Calling @KhoaVuUmn : https://t.co/tT9CUGlKY4 ↪
tidyverse tweets (@tidyversetweets; 2/3): knitr::include_graphics in bookdown, is not rendering the image and not cross referencing #tidyverse #rstats https://t.co/qd7bk1n4xK ↪
Sebastian H. (@seathebass92; 2/1): finally got the bookdown template package for my dissertation working. Still some things to troubleshoot but getting closer. Really grateful for thesisdown and the many people who built their own templates for setting the way https://t.co/xE3ZoBW7Zy ↪
Gabriella Kountourides (Κουντουριδου) (@GKountourides; 2/1): @RR_Oxford @github .@JanaMuschinski and I got so excited/a bit in awe when we realised that it was “Oxford Bookdown man” I.e @ulyngs who was taking us through R markdown during #OxBer2021 👀 ↪
Tomonari MASADA💉💉 (@tmasada; 2/0): Statistical Thinking for the 21st Century https://t.co/tlPHUFPiiG #rmarkdown #bookdown ↪
Will Landau (@wmlandau; 2/0): @brodriguesco Target Markdown would let you define your targets across multiple chapters and then run the whole pipeline later: https://t.co/is7hZnxqfm.
Bookdown works by creating a massive Rmd first and then running that. Maybe that can be used with tar_render()? ↪
Bruno Rodrigues (@brodriguesco; 2/0): Hi @wmlandau what would be the best way to render a bookdown? I need to run the command “rmarkdown::render_site(encoding = “UTF-8”) " to render my bookdown. There doesn’t seem to be a tar_render_site() in tarchetypes? ↪
Yáng Xīnbīn (@xavieryangzz; 2/0): @drjgauthier @rlmcelreath Solomon Kurz showed a good tutorial in his translated version of Rethinking. https://t.co/pRsoWUWpuR ↪
tidyverse tweets (@tidyversetweets; 1/2): Replace figure caption prefix in RMarkdown bookdown pdf-document #tidyverse #rstats https://t.co/y92iPmS0Po ↪
Kasey Zapatka (@kaseyzap; 1/2): .#RStats I’m having some trouble knitting together a manuscript where I’m inserting figures I’ve saved from an analysis file. Anyone have any ideas?
https://t.co/pkn2GM1Vqr ↪
Ben Hanowell (@BenHanowell; 1/0): This little book by @juliesquid on setting up #bookdown is very useful. https://t.co/EiqGiC0YQ6 ↪
tidyverse tweets (@tidyversetweets; 1/0): Images not rendering on bookdown #tidyverse #rstats https://t.co/smri5TCaKa ↪
Eric Leung (@erictleung; 1/0): maybe fitting for the Chunk Options chapter?
https://t.co/4maYXwOCgs ↪
Ewan Donnachie 🇬🇧🇩🇪 (@ERDonnachie; 1/0): @eKrijkamp @Gummifot @lindanab1 I didn’t know about thesisdown, but it looks promising. But generally with bookdown, I find myself pulling Rmd and other texts from various sources, which can make things complicated, especially if the sources are then updated. ↪
John Measey (@AfriHerp; 1/0): @jr4science Have a look at offerings on #bookdown.org
All #OpenAccess
e.g.
@HandsOnDataViz
https://t.co/nNUDcWxiMf
@kjhealy
https://t.co/hJzd5OXDMT
…and many more ↪
tidyverse tweets (@tidyversetweets; 0/1): How to import .tex file using RMarkdown and bookdown and word_document2 #tidyverse #rstats https://t.co/ktDzgP9H0O ↪
knitr
JD Long (@CMastication; 10/1): @ijeamaka_a Hmmm… this maybe?
https://t.co/veEUjcSnDE ↪
Benjamin Gowan (@Benjaming_G; 6/3): holy guac, where have you been all my life knitr::kables? The sheer acrobatics of mappped-knitr-outputs-strung-together-strings to get a list of tables to render and all I need was bla %>% bla %>% list_of_dfs %>% map(kable) %>% kables() and it just… renders properly!? #rstats ↪
Keith McNulty (@dr_keithmcnulty; 3/0): @MeghanMHall @robinson_es Also it can be conditional on your output format. Using the boolean knitr::is_latex_output() or knitr::is_html_output(). So you can swap interactive graphics for static graphics for example. ↪
Tom Mock 💉💉🎉 (@thomas_mock; 3/0): @chrisderv @DrMowinckels Oh good call, not much reasoning behind, just showing a fully inside chunk workflow instead of being constrained within the knitr options.
I guess that could be turned into an output from either a param or from an earlier logical statement. ↪
Mickaël CANOUIL (@mickaelcanouil; 2/1): ‘fig.process’ did the trick by defining an #RStats function to rename the file without the suffix when it is “-1.ext”.
I still think based on what I’ve read about knitr/Rmarkdown, the suffix should not be there in most cases when labels are unique and using option (see docs). ↪
Christophe Dervieux (@chrisderv; 2/0): @DrMowinckels @thomas_mock Yes child documents does not take params as main file do. FR is opened about that: https://t.co/dr2oGZ5f67
You would have to create objects in the “Rmd environment” which will be used by knitr as @thomas_mock said. (1/2) ↪
Sander Hermsen (@sanderhermsen; 1/0): @JaedynRuli Use knitr to generate html and pdf of analyses - I’ve seen it done but I can’t get it to work…. ↪
Lisa DeBruine 🏳️🌈 (@LisaDeBruine; 1/0): @91caitlin If you set fig.width and fig.height in the code chunk or in a chunk labelled “setup” using knitr::opts_chunk$set(), the aspect ratio will be right, but the dpi will be twice as large interactively. @TraversEoin suggests setting fig.width and height to their value/2 until knit. ↪
Christophe Dervieux (@chrisderv; 1/0): @DrMowinckels @ma_salmon Default params are in the params object loaded in the session by
knitr::knit_params()
. The object should be available from chunk to use without you needed to reload them from YAML 🤔 ↪
tinytex
Kirill Müller (@krlmlr; 21/6): Need to render documents that no longer work with the most recent LaTeX version? Check out our blog post on how to achieve this with tinytex, while keeping the automatic package downloads.
https://t.co/NmFi1clkbI ↪
xaringan
Laurent Jégou (@ljegou; 13/0): Ce qui est bien avec RMarkDown/Xaringan c’est qu’on peut procrastiner des heures sur le style et la config avant de devoir réellement écrire les slides. ↪
Shannon Pileggi (@PipingHotData; 9/0): @shilaan01 Check out @grrrck’s CSS {xaringan} playground talk from rstudio::global(2021) https://t.co/iJcNyDJ1On ↪
Omar Wasow (@owasow; 3/0): @TomPepinsky @benlauderdale @rudeboybert @old_man_chester Also, a focus on speed or elegance of syntax misses that much of statistical work is communication not computation. Magical publishing tools like knitr, rmarkdown & Xaringan (thx @xieyihui!) and other major extensions like ggplot are huge advantages of R vs Julia & Python. ↪
Milena Auzier (@Milenaauzi; 2/0): dica para quem quer aprender a fazer apresentação no R Markdown, as meninas do @RLadiesSaoPaulo ensinam muito bem, segue o link https://t.co/S5KLXBPKw4 ↪
Emil Hvitfeldt (@Emil_Hvitfeldt; 2/0): Hey #xaringan people, what do you think is the optimal file size for a background image? ↪
Jake Lawlor (@Jake_Lawlor1; 2/0): @JoeyBernhardt @polesasunder @bleds22e @jbburant @JennSunday in these cases, they’ve been made through Rmd or xaringan, so the html knitting was simple. Not sure how it would work for, say, pdfs. Also in these cases they are under CC licenses. Materials on personal site blogs are also a bit easier to navigate than some other options. ↪
Pierre-Guillaume Prigent (@Pierre_Pgt; 2/0): @pierre_bat @ffigon Le jour où il sera possible d’éditer collaborativement des slides R Markdown avec xaringan 🥳🤩 ↪
Nicola Rennie (@nrennie35; 1/0): @BjnNowak Thanks! I didn’t know about the {xaringan} package so I might give a try next time :) ↪
Benjamin Nowak (@BjnNowak; 1/0): @nrennie35 Really nice, congrats! You may consider {xaringan} for slides like that (although in this case you won’t have much interest in creating a custom theme for a ‘one-shot’…) ↪
bklStudio Open Comissions (@bkl_studio; 1/0): @VgThor this color was very good, I even wanted to paint like this, using xaringan in 3.2,1… hehe ↪
yihui.name
GiR (@girlazote; 1/0): @CodingPotions Explicado super directo:
En backend, en algunos endpoints devolvemos información que no cambia mucho, muchas veces guardamos en RAM esos resultados por que no cambian, pero y si cambian?
Ese es el problema de validar e invalidar cache
https://t.co/MeeGkQezOw ↪