Joe Kirincic
jkirincic.bsky.social
Joe Kirincic
@jkirincic.bsky.social
150 followers 730 following 28 posts
Data Science & Data Engineering
Posts Media Videos Starter Packs
Working with data where columns contain nested data structures is easier in R (e.g. JSON). Packages like {purrr} and {dplyr} let you to manipulate columns of arbitrary types using the same APIs. The NSE in R is also very helpful here.

I also think {tidymodels} has the best UX for ML work.
Reposted by Joe Kirincic
I've started working on an R package that makes it easy to write Typst markup dynamically! #rstats

It's still in its early stages, but it implements:
- ✅ all Typst functions
- ✅ set rules
- ✅ conversion from R to Typst (`NULL` becomes `none`, etc)
- ✅ no dependencies

github.com/y-sunflower/r2typ
Reposted by Joe Kirincic
Announcing plumber2 0.1.0! 🔧

The next-gen #RStats framework for building web servers and REST APIs is here. It's a rewrite of plumber with a modern foundation.

Key features include async support via mirai, native WebSockets, and serving of Shiny/Quarto.

Learn more: tidyverse.org/blog/2025/09...
Hey y’all. I’m writing a blog series on performance optimization of REST APIs written in R using {plumber2}. First post is at the following link; it’s about speeding up endpoints by tweaking object serialization code. #rstats

joekirincic.com/posts/perfor...
Performance Optimization for Plumber APIs: Serialization – Joe Kirincic
A series of posts about making your Plumber APIs production ready.
joekirincic.com
Reposted by Joe Kirincic
reticulate v1.44 is on CRAN!

Positron integration is now enabled by default. Enjoy R and Python REPL consoles powered by concurrent threads in the same process, zero‑copy R↔Python data transfer, and full Variables Pane support.

Full changelog: github.com/rstudio/reti...

#rstats #python #pydata
github.com
Hell yeah! Do it. Try getting a friend involved that can hold you accountable. My friend and I are aiming to have something written every month.
Reposted by Joe Kirincic
You have a handful of options to try. The package {duckdb}’s already been mentioned, and is good. There’s a similar package {duckplyr} that also works well. The {arrow} package is also great for reading in large amounts of CSVs.
Sick find. Thanks, G!
Reposted by Joe Kirincic
August 2025's Top 40 picks are out, highlighting excellent #RStats packages from Differential Privacy to Toxicology to Causal Inference.

This marks 1 year of Top 40 posts since we started R Works! 🎉

Check out the post here: rworks.dev/posts/august...
August 2025 Top 40 New CRAN Packages – R Works
Here are my picks for the best from the ninety-seven new packages that landed on CRAN in August, organized in eighteen categories: Causal Inference, Data, Differential Privacy, Ecology, Environmental ...
rworks.dev
Reposted by Joe Kirincic
I am super hyped to finally share the first release of plumber2 with all of you. This has been the center of my attention for a big part of 2025 and I hope you'll find it a worthy update to the venerable plumber package.

The blog post will tell you more

#rstats
plumber2 0.1.0
plumber2, a complete rewrite of plumber, has landed on CRAN, providing a modern, future proof solution for creating web servers in R. Read all about the new features here.
www.tidyverse.org
If you’re in RStudio, I think {ellmer} offers the most flexibility. You can start a live chat session in the viewer pane if you don’t want to switch between the IDE and your browser. You can also interact with LLMs programmatically.
Reposted by Joe Kirincic
Come find me at #PositConf2025 this week... when I'm not peopled out and hiding in my room 🙃

TOTALLY urelated: {stbl} 0.2.0 is on CRAN! stbl.api2r.org

Want to make sure functions arguments have the expected properties (or fail informatively)? {stbl} can help!

#RStats
Stabilize Function Arguments
A set of consistent, opinionated functions to quickly check function arguments, coerce them to the desired configuration, or deliver informative error messages when that is not possible.
stbl.api2r.org
This building is huge!
It’s the hydra we learn to love.
At posit::conf(2025) this week, I’ll be giving a talk about optimizing REST API performance. If making fast web services even faster is your thing, this talk’s for you. We’ll focus on APIs written in R with {plumber}, but the strategies can be used with APIs written in any language. #rstats #python
Reposted by Joe Kirincic
Reposted by Joe Kirincic
Posit @posit.co · Sep 10
Are you an RStudio user thinking about trying Positron? We put together some resources to help with the transition.

Learn how to import your keybindings and handle projects while gaining a more flexible environment for both #RStats and Python.

Check out the guide: positron.posit.co/migrate-rstu...
Reposted by Joe Kirincic
David Kreitmeir and I published the synthetic matching method from Kreitmeir et al. (2025) as an #rstats package on CRAN (cran.r-project.org/package=synt...). Whereas my other recent R packages are primarily wrappers of my C++ code, synthReturn is a full R package (Fortran only in dependencies).
synthReturn: Synthetic Matching Method for Returns
Implements the revised Synthetic Matching Algorithm of Kreitmeir, Lane, and Raschky (2025) &lt;<a href="https://doi.org/10.2139%2Fssrn.3751162" target="_top">doi:10.2139/ssrn.3751162</a>&gt;, building...
CRAN.R-project.org
Hella stoked about this!