Gabor Csardi
@gaborcsardi.org
3.6K followers 110 following 34 posts
Software Engineer at Posit, PBC https://fosstodon.org/@gaborcsardi https://github.com/gaborcsardi
Posts Media Videos Starter Packs
gaborcsardi.org
This is a way to tell if a non-base package is loaded:
invisible(lapply(loadedNamespaces(), function(x) stopifnot(identical(packageDescription(x)$Priority, "base"))))
gaborcsardi.org
You can tell user to run the script from the command line, non-interactively, that makes things more predictable, but of course they might still need to have a custom R profile that loads packages or sets options, etc.
gaborcsardi.org
Are you worried about packages that change the script's behavior? Or custom options? Or something else? You can check if any non-base package is loaded, but what if a user loads a package from their profile? Users also need to set custom options sometimes, e.g. for a http proxy.
Reposted by Gabor Csardi
weare.rladies.org
Hi everyone! 👋 I’m Isabella @ivelasq3.bsky.social, formerly a data analyst, now at @posit.co, and your curator this week!

There’s always something new in #RStats. I'll be sharing:

✨ Favorite R packages + workflows
✨ News + tools you might have missed
#PositConf2025 recaps
✨ A decade of R memes 🎉
Isabella in front of the hex wall at rstudio::conf(2022)
Reposted by Gabor Csardi
djnavarro.net
Against my better instincts, I have written some notes on how human probability judgements work and what you should expect from surveys that ask people to guess what proportion of the population is transgender. I hope never to speak of this matter again
Some notes on probability judgement – Notes from a data witch
For the love of fuck, literally nobody thinks that 20% of the population is transgender. Please stop sharing that ridiculous YouGov statistic
blog.djnavarro.net
Reposted by Gabor Csardi
niccrane.bsky.social
I'm considering writing a proposal for R Consortium ISC funding to write a free & open source book on LLMs/AI in R. Advice out there is scattered between different resources. Wondering if this is something the wider #rstats community would be interested in, & what folks would like to see in there?
Reposted by Gabor Csardi
njtierney.bsky.social
Hey #rstats friends! 👋

Only one week to go until my "Introduction to R Packages" tutorial at #WOMBAT2025!

This is a gentle introduction to making R packages, going from initial code to `devtools::check()`

Still plenty of spots available :)

Sign up at: wombat2025.numbat.space
Reposted by Gabor Csardi
hadley.nz
We still have spots available for tidyverse dev day on Sept 19: www.tidyverse.org/blog/2025/07.... Please come along to contribute to the tidyverse and have a bunch of fun along the way! It's open to all, but is most convenient if you're coming to posit::conf or live near Atlanta #rstats
Tidyverse developer day 2025
Join us in Atlanta for tidyverse developer day on September 19, 2025!
www.tidyverse.org
Reposted by Gabor Csardi
blasbenito.com
In case you didn't know:

You can run your package unit tests with {testthat} in parallel with two simple steps (see testthat.r-lib.org/articles/par...):

tldr:
1. Add `Config/testthat/parallel: true` to DESCRIPTION.
2. Add `TESTTHAT_CPUS=8` to your .Renviron and restart R.

#rstats
Running testthat unit tests in parallel with Rstudio.
Reposted by Gabor Csardi
jonthegeek.com
Hello #dataBS (& especially #TidyTuesday) fam! I'm trying to organize a thing to help me keep TidyTuesday running smoothly, but first I need to get a bit of a runway. Every week I curate a TT dataset, and it's wearing me down. Please see github.com/rfordatascie... for some ways you can help! #RStats
Reposted by Gabor Csardi
dariia.bsky.social
❗️Our next workshop will be on August 28th, 6 pm CEST, on Efficient R by @selina-b.bsky.social
Register or sponsor a student by donating to support Ukraine!
Details: bit.ly/3wBeY4S
Please share!
#AcademicSky #EconSky #RStats
gaborcsardi.org
Hah, that example should be updated to something like this, which I now use for every custom print method:
```
generic_print <- function(x, ...) {
writeLines(format(x, ...))
invisible(x)
}
```

and then

```
#' @export
print.someclass <- generic_print
```
Reposted by Gabor Csardi
posit.co
Posit @posit.co · Aug 12
Ever wonder how an actuary becomes a data science educator? 🤔

Tune into the latest episode of The Test Set with @minecr.bsky.social. We discuss everything from her #RStats journey to her use of LLMs to give students feedback on their code.

Listen: thetestset.co, on Spotify, or Apple Podcasts
Reposted by Gabor Csardi
dariia.bsky.social
#AcademicLife in Ukraine: preparing for lectures at night during a massive missile attack on Kyiv in an overcrowded underground station
#EconSky #UkrainianView #RStats
Writing lecture notes in Quarto during missile attack in Kyiv underground
Reposted by Gabor Csardi
dariia.bsky.social
This workshop is tomorrow, don't miss your chance to register!
Details: bit.ly/3wBeY4S
Please share!
#AcademicSky #EconSky #RStats
dariia.bsky.social
❗️Our next workshop will be on July 31st, 6 pm CEST, on How to Use R with Excel by
@alycolumbus.bsky.social !
Register or sponsor a student by donating to support Ukraine!
Details: bit.ly/3wBeY4S
Please share!
#AcademicSky #EconSky #RStats
Reposted by Gabor Csardi
dariia.bsky.social
This workshop is tomorrow, so don't miss your chance to register!
Details: bit.ly/3wBeY4S
Please share!
#AcademicSky #EconSky #RStats
dariia.bsky.social
❗️Our next workshop will be on July 17th, 6 pm CEST, on Good vs. Bad Confounders: A Hands-On Introduction with DAGs & Simulations in R by @adambrosiomd.bsky.social !
Register or sponsor a student by donating to support Ukraine!
Details: bit.ly/3wBeY4S
Please share!
#AcademicSky #EconSky #RStats
Reposted by Gabor Csardi
dariia.bsky.social
❗️Our next workshop will be on June 20th, 6 pm CEST, on Building fully reproducible DS env for R and #Python with Nix, rix, rixpress by
@brodriguesco.bsky.social!
Register or sponsor a student by donating to support Ukraine!
Details: bit.ly/3wBeY4S
Please share!
#AcademicSky #EconSky #RStats
Reposted by Gabor Csardi
hadley.nz
Happy 18th birthday ggplot2! #rstats
Balloon wall art inspired by the ggplot2 hex sticker. The display features a hexagonal frame made of black balloons, filled with white balloons inside and surrounded by a background of light and dark blue balloons. A line graph with black balloon segments and round coloured nodes runs across the centre, and the word “ggplot2” is spelled out in black balloon letters below the chart.
Reposted by Gabor Csardi
dariia.bsky.social
Just 3 days left until this workshop, so don't miss your chance to register!
Details: bit.ly/3wBeY4S
Please share!
#AcademicSky #EconSky #RStats
dariia.bsky.social
❗️Our next workshop will be on June 13th, 6 pm CEST, on Using LLMs with ellmer by @hadley.nz!
Register or sponsor a student by donating to support Ukraine!
Details: bit.ly/3wBeY4S
Please share!
#AcademicSky #EconSky #RStats
Reposted by Gabor Csardi
dariia.bsky.social
Hi #rstats! Does anyone know of any good free online self-paced comprehensive R video courses for complete beginners? Ideally, with interactive exercises that would be automatically checked, and the ability to gain certificates. Thanks!
Reposted by Gabor Csardi
yjunechoe.bsky.social
Excited to share a new #rstats project: ggplot2 layer explorer #shiny app!

My latest experiment in demystifying ggplot2 internals gives you interactive control over the rendering pipeline. I hope this helps make the internals more accessible and, most importantly, fun! 😄

github.com/yjunechoe/gg...