2026-06-24 10:00:01
{nplyr} has helper functions to work on nested dataframes: #rstats #datascience
#rstats mapgl is now on CRAN with flowmaps support! As previewed at #MobileTartu (Mobility Lab, University of Tartu) and Association of Geographic Information Laboratories in Europe (#AGILE) conferences! (Video by Kyle Walker). Backend is Flowmap.gl
{purrr} has some lesser known functions that make handling of failing function calls easier: safely, quietly, possibly: #rstats
Interactive resizing of picture and table content in Rmd and Quarto: #rstats
Im using case_when() quite a lot, case_match() is new to me: #rstats
Polars is a lightning fast DataFrame library/in-memory query engine with parallel execution and cache efficiency. And now you can use is with the tidyverse syntax: #rstats
New blog post: Effective mental health techniques according to therapists and the public on Reddit – Dr Paul Matthews
#MentalHealth #RStats
RE: #rstats
The {conflicted} package makes sure that namespace conflicts are solved explicitly and prevents unpleasent surprises: #rstats
What They Forgot to Teach You About R: #rstats
RE: #rstats
There are many situations were you need access to different R versions: rig is a way to manage them #rstats
{piggyback} makes it easier to attach large files (e.g. input data) to code in github repos: #rstats
I have a habbit of making (too) many (small) packages for functionality that might be reused in different context. {box} might be an alternative by making scripts into modlues that can be loaded: #RStats
Linear programs help to find optimal solutions based on a set of constrains. I used {ompr} before, but the new package {tidyLP} looks promising and integrates with the tidyverse. #rstats #linearprograms #optimization
RE: #rstats
Primer to get you started with Optimization and Mathematical Programming in R #rstats
Not sure any longer which libraries your script actually needs? #rstats
The fastverse is a suite of complementary high-performance packages for statistical computing and data manipulation in R. #rstats
Customize what happens when you start R: #rstats #environment
{spiralize} can be used to highlight cyclic data, e.g. multi year time series. #rstats
A pictures says more than 1000 words. How much more can an audio representation of your data tell you? #rstats
The {esquisse} package makes it easy to plot your data in different ways with a drag and drop interface: #rstats
#TIL that #RStudio supports multiple levels of code sections. The level depends on the number of # signs at the beginning of the line.
# First Level -----
## Second level ------
This is also reflected in the document outline you get with Cmd Shift O (on a Mac, I guess it's Ctrl Shift O anywhere else).
Why did no-one tell me that earlier?!?
#rstats
Getting started with Shiny to make interactive web-apps with R: #rstats
Follow along when @… walks you through how she tackles a new dataset: https://www.youtube.com/c/JuliaSilge
Its good to have many tests in your R package, but it can be a pain to debug some failing tests when it happens. {lazytest} for the rescue: only rerun the failing tests, until they pass: #RStats
{ggblanket}, a wrapper around #ggplot for quick, explorative plots with sensible defaults and less code. https://davidhodge931.github.io/ggblanket/
Use multi level models with {parsnip}: http://multilevelmod.tidymodels.org/ #rstats #ML
The inner working of parquette/arrow data in R: #rstats
{dtrack} makes documentation of data wrangling part of the analysis and creates pretty flow charts: #rstats
{annotater}: Annotate package load calls, so we can have an idea of the overall purpose of the libraries we’re loading: #rstats
R doesnt need to be a hard and scientific tool 📈. You can use it to make art 🎨: #rstats
Add highlighting to your quarto presentation using the RoughNotation library: #rstats
Lets be honest, we spend too much time cleaning data. {janitor} can help with that: #rstats #datasciece
Are you interested in how dependency-heavy your (or another) package is and why? #rstats
{testthat} is great for automatic testing. Here are some tricks for the heavy user: #rstats
Cute comics of R functions by @…: https://allisonhorst.com/r-packages-functions
Using fonts in R graphics can be tricky at times. {showtext} aims to make it easier: #rstats
{ivs} makes it easier to work with intervals: #rstats
I am more fluent in LaTeX than in plotmath expression. If you are the same, latex2exp will make your life easier. https://cran.r-project.org/web/packages/latex2exp/vignettes/using-latex2exp.html
Tidy Modeling with R: #rstats #machinelearning
Sometimes (often) one ends up needing to run older versions of R using older versions of packages. Evercran might be just the tool to help with that: #RStats…
Extract tables from pdfs with {tabulapdf} #rstats #datasciece
Add some swag to your ggplots, with fontawesome symbols and colors: #rstats
If you use Quarto to make presentations for a professional setting, it is important to choose the right theme, e.g. #rstats
It has happened to the best of us: You forgot the name of a function or the package that function was in but you are sure its there somewhere and does exactly what you need! Introduce {forgot}, it helps you find that function: https://github.com/parmsam/forgot
Friends Don't Let Friends Make Bad Graphs! Do you agree with the examples of bad graphs and the alternatives Chenxin Li (@chenxinli2.bsky.social) lists at #RStats
Easier debugging of piped analyses in R: https://github.com/MilesMcBain/breakerofchains by @…
Easier debugging of piped analyses in R: https://github.com/MilesMcBain/breakerofchains by @…
If you set limits for a scale (e.g. x-axis) in ggplot, how would you like data outside of that range be handled? There is the oob parameter for that and a set of functions to use with it: https://scales.r-lib.org/reference/oob.html
Sometimes you get data in less than optimal format, e.g. as a png of a figure 😭... In that case https://cran.r-project.org/web/packages/metaDigitise/vignettes/metaDigitise.html might be the rescue.
Do you need better performance than what the standard #tidyverse functions have? {collapse} might be worth a look: https://sebkrantz.github.io/collapse/