Tomasz Kalinowski's Avatar

Tomasz Kalinowski

@t-kalinowski.bsky.social

Software Engineer at Posit PBC. I mostly post about R, Python, and Deep Learning. Github: https://github.com/t-kalinowski

2,003 Followers  |  959 Following  |  38 Posts  |  Joined: 07.11.2024  |  2.0037

Latest posts by t-kalinowski.bsky.social on Bluesky

Preview
Python Open-Source Developer Posit is hiring a Python open-source developer to create more data analysis tools.

We're hiring an open-source #python developer focused on modeling APIs!

tidyverse.org/blog/2025/11...

#numpy #scipy #scikitlearn

12.11.2025 17:46 β€” πŸ‘ 33    πŸ” 14    πŸ’¬ 0    πŸ“Œ 1

I updated the gist with comments! In short: it configures the container with everything needed to let the agent run `devtools::test()` for the local R package within the container setup time limit. It installs R, configures CRAN, installs pkg dependencies, sets some env vars, etc.

12.11.2025 23:28 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I'd love to know what we can do to make this better! We've put a lot of work into making environment discovery "just work" with `py_require()` recently, but if you're still running into issues then our work is not done!

12.11.2025 20:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Add support for free threaded Python Β· Issue #1847 Β· rstudio/reticulate Pointing reticulate at a freethreaded Python build currently raises an error. We need to investigate, diagnose the issue, and fix it. We should also make it easy to select a freethreaded Python in ...

I think it will probably be straightforward to add support for GIL-free builds of Python, but it needs a little investigation at the moment. There is an open issue: github.com/rstudio/reti... Contributions welcome!

25.10.2025 20:14 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

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

25.10.2025 15:37 β€” πŸ‘ 50    πŸ” 11    πŸ’¬ 2    πŸ“Œ 0
Preview
quartohelp/R/store.r at main Β· t-kalinowski/quartohelp A ragnar-powered application. Contribute to t-kalinowski/quartohelp development by creating an account on GitHub.

Another option is to distribute it via github as a release asset. This would download the store at first use instead of at package install.
Here is an example:
github.com/t-kalinowski...

24.10.2025 03:22 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image Post image Post image Post image

Work-in-progress #RStats package {brandthis} that enables you to efficiently create themes and color scales from personal/company branding. Uses {ragnar}, {ellmer}, {ggsci} and other R packages.

14.10.2025 03:11 β€” πŸ‘ 13    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
Setup codex-universal (Codex Cloud) for R package development Setup codex-universal (Codex Cloud) for R package development - setup-codex-universal.sh

For anyone who wants to try Codex Cloud for R package development, here is a setup script you can use:

gist.github.com/t-kalinowski...

26.09.2025 14:40 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

The {ragnar} #RStats πŸ“¦ has a new function to inspect a data store: ragnar_store_atlas() , which visualizes the store, @t-kalinowski.bsky.social tells #Positconf2025

18.09.2025 16:47 β€” πŸ‘ 12    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Sharon's Workshop for Ukraine Help medics save lives in Ukraine. Learn a skill or sponsor a student & support a cause.

My Workshop for Ukraine is THIS THURSDAY, 11 Sept! Donate to help medics save lives in Ukraine *and* learn how to query text data with R and the {ragnar} #RStats πŸ“¦
Can't make it from noon to 2 ET? Register and you'll get access to recording and materials. Thank you! ❀️
www.machlis.com/workshop/

06.09.2025 16:18 β€” πŸ‘ 3    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0

I'd love feedback on this #marginaleffects WIP.

In GLMs with many parameters, the marginaleffects πŸ“¦ can get a 5–20x speedup (and better SEs) by calling JAX for automatic differentiation.

Try the instructions at this link and let me know if you run into trouble.

Thanks!

github.com/vincentarelb...

31.08.2025 19:12 β€” πŸ‘ 37    πŸ” 6    πŸ’¬ 5    πŸ“Œ 1
Post image

❗️Our next workshop will be on September 11th, 6 pm CEST, on RAG in R with ragnar by @smachlis.bsky.social

Register or sponsor a student by donating to support Ukraine!
Details: bit.ly/3wBeY4S
Please share!
#AcademicSky #EconSky #RStats

29.08.2025 08:58 β€” πŸ‘ 12    πŸ” 9    πŸ’¬ 1    πŸ“Œ 2
Preview
Posit Posit's latest glimpse newsletter highlights new product releases, including the Positron IDE and several new LLM-powered tools.

Finally got Glimpse out focused on what the Posit open source team has been up to. Turns out its quite a bit! posit.co/blog/posit-g...
I continue to be happy with the approach we (Posit) are taking with LLMs and AI. Too impactful to ignore but focus on useful and safe as much as possible.

27.08.2025 17:57 β€” πŸ‘ 14    πŸ” 6    πŸ’¬ 0    πŸ“Œ 0

New release of quickr v0.2.0 on CRAN #rstats!

New: runif(), more control flow, more ops, many many bug fixes.

Also, I've been experimenting with chatgpts codex (cloud) in quickr. It's pretty useful! I added some setup scripts to make it easier to get started.

changelog: github.com/t-kalinowski...

26.08.2025 12:56 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
ragnar 0.2 ragnar 0.2 introduces a tidy, transparent toolkit for building Retrieval-Augmented Generation (RAG) pipelines in R.

ragnar v0.2.1 is now on CRAN.

It's full of small improvements! The most impactful is that registered retrieval tools now never return previously seen chunks, giving LLMs a robust ability to do deep searches.

announcement: www.tidyverse.org/blog/2025/08...
changelog: ragnar.tidyverse.org/news/

21.08.2025 19:49 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
A screenshot of my JSM 2025 Agenda Chat bot, featuring the answer to "when is Mitchell O'Hara-Wild presenting".

A screenshot of my JSM 2025 Agenda Chat bot, featuring the answer to "when is Mitchell O'Hara-Wild presenting".

There's so many parallel sessions at #JSM2025 that it's hard to choose where to go, so I web-scraped the schedule and made a chatbot to help.

I've made it public, so hopefully it can help you too - try it out πŸ‘‰ shiny.mitchelloharawild.com/jsm2025/

04.08.2025 15:32 β€” πŸ‘ 18    πŸ” 8    πŸ’¬ 4    πŸ“Œ 0

This would be a prime example to showcase quickr!

22.07.2025 17:07 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

ragnar should support this if you provide a custom `embed` function, e.g., using a local graph embedding model via reticulate, or if you just insert chunks with precomputed embeddings. This would be a good example for us to add to docs! Feel free to open a github issue if you run into any problems!

22.07.2025 17:03 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

The @posit.co new reticulate package with managed/uv python implementation really changed the game (and speed) of using modules without a huge condaenv overhead. In scripts but also big for packages with python deps.

09.07.2025 13:20 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
How to create your own RAG applications in R See how to query documents using natural language, LLMs, and Rβ€”including dplyr-like filtering on metadata. Plus, learn how to use an LLM to extract structured data for text filtering.

RAG has come to the tidyverse! Check out my step-by-step #InfoWorld tutorial on how to use the {ragnar} and {ellmer) #RStats πŸ“¦s to answer natural language questions about a document or Web page.
www.infoworld.com/article/4020...

#GenAI #LLMs

17.07.2025 12:36 β€” πŸ‘ 26    πŸ” 11    πŸ’¬ 3    πŸ“Œ 0

It works with shiny! We’ve deployed ragnar on a few connect apps already.
Some models are more or less eager to call tools; it depends on the model. If you’re seeing an error, please open a github issue!

17.07.2025 09:36 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Changelog

Other highlights:

- `read_as_markdown()` handles HTML better, now supports selectors
- Store inspector now displays chunk context and looks nicer.
- More embedding providers (Google, Databricks, Bedrock)

Full changelog: ragnar.tidyverse.org/news/

15.07.2025 13:44 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Retrieval-Augmented Generation (RAG) Workflows Provides tools for implementing Retrieval-Augmented Generation (RAG) workflows with Large Language Models (LLM). Includes functions for document processing, text chunking, embedding generation, storag...

#ragnar 0.2.0 is on CRAN #rstats!

It has a MUCH improved chunker; markdown_chunk() picks better boundaries, builds context, segments by headings, and handles overlapping chunks. Oh, and ragnar_retrieve() can deoverlap retrieved chunks now.

Website got a big update too: ragnar.tidyverse.org

15.07.2025 13:44 β€” πŸ‘ 41    πŸ” 15    πŸ’¬ 4    πŸ“Œ 1

Can’t believe I forgot to share this back in February... Check out this intro to RAG by @christophscheuch.bsky.social! blog.tidy-intelligence.com/posts/rapid-...

RAG before ragnar!

It’s also a good intro to ragnar internals, since ragnar makes similar implementation choices.

14.07.2025 18:25 β€” πŸ‘ 7    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
Let’s Git started | Happy Git and GitHub for the useR Using Git and GitHub with R, Rstudio, and R Markdown

You might enjoy this (even if you don’t use R): happygitwithr.com

06.07.2025 17:37 β€” πŸ‘ 7    πŸ” 1    πŸ’¬ 2    πŸ“Œ 0
Original post on fosstodon.org

New post: https://jcarroll.com.au/2025/06/29/counting-digits-quickly/

What if you could just wave a magic wand over your R #rstast :rstats: code and have it transform into something that ran as fast as or faster than C? @t_kalinowski's {quickr} 'R to Fortran Transpiler' does that for you! […]

29.06.2025 02:00 β€” πŸ‘ 12    πŸ” 7    πŸ’¬ 0    πŸ“Œ 0
Preview
Deep Learning with R, Third Edition Deep learning from the ground up using R and the powerful Keras library!</b> Deep Learning with R, Third Edition</i> introduces deep learning from scratch with examples that use the R language and th...

I’m very pleased to announce that a preview of the 3rd Edition of Deep Learning with R is now available! mng.bz/X7xa

The book is 50% off through July 8!

20.06.2025 17:58 β€” πŸ‘ 100    πŸ” 18    πŸ’¬ 0    πŸ“Œ 1

Easiest way is probably to pin all package versions to a known working date:

py_require(exclude_newer = "2025-06-09")

10.06.2025 21:39 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - t-kalinowski/quickr: R to Fortran Transpiler R to Fortran Transpiler. Contribute to t-kalinowski/quickr development by creating an account on GitHub.

#RStats WHAT MAGICKS IS THIS?!?!?! github.com/t-kalinowski...

03.06.2025 22:08 β€” πŸ‘ 31    πŸ” 11    πŸ’¬ 5    πŸ“Œ 0

We recently added a new "Getting Started" guide ragnar.tidyverse.org/articles/rag...

Blog post coming soon!

30.05.2025 22:39 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

@t-kalinowski is following 20 prominent accounts