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...
@t-kalinowski.bsky.social
Software Engineer at Posit PBC. I mostly post about R, Python, and Deep Learning. Github: https://github.com/t-kalinowski
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...
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 β π 13 π 1 π¬ 0 π 0My 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/
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...
βοΈ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
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.
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...
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/
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/
This would be a prime example to showcase quickr!
22.07.2025 17:07 β π 1 π 0 π¬ 0 π 0ragnar 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 β π 2 π 0 π¬ 1 π 0The @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 π 0RAG 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
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!
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/
#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
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.
You might enjoy this (even if you donβt use R): happygitwithr.com
06.07.2025 17:37 β π 8 π 2 π¬ 3 π 0New 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! [β¦]
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!
Easiest way is probably to pin all package versions to a known working date:
py_require(exclude_newer = "2025-06-09")
#RStats WHAT MAGICKS IS THIS?!?!?! github.com/t-kalinowski...
03.06.2025 22:08 β π 32 π 12 π¬ 5 π 0We recently added a new "Getting Started" guide ragnar.tidyverse.org/articles/rag...
Blog post coming soon!
I wonder what happens if you train with a regularizer that penalizes super weights like this. Iβm guessing the model quantizes better, maybe becomes more robust, or makes more efficient use of weights.
28.05.2025 17:52 β π 3 π 0 π¬ 0 π 0A digital illustration on a pink background with white dots. A raven with a piece of paper in its beak in a colorful hexagon covered in various graphs and doodles. Dotted lines extend from the hexagon to four white rectangular documents with horizontal lines representing text. An 'AI' icon is in the upper right corner
Introducing the btw package for teaching LLM chat apps about your #RStats package!
Inject "invisible" messages into chats via system prompts and use tool calls to dynamically fetch context when needed.
Check out a dplyr example and learn more in @simonpcouch.com's post! posit.co/blog/custom-...
mirai - minimalist async framework for #RStats - released as an 'r-lib' package.
Blog post: Advancing Async Computing in R.
shikokuchuo.net/posts/26-mir...
mirai provides event-driven async for #RShiny and parallel processing for purrr #tidyverse.
Really excited to be working on this at Posit!
S7 is used very heavily in ellmer. I would suggest using it.
20.05.2025 12:59 β π 3 π 1 π¬ 0 π 0The package logo, a small cute elephant holding a quill and writing promptdown
Just made promptdown public. It's a plain-text interface for working with LLMs using literate programming.
See and edit the full prompt each turn.
No cramped input boxes, no hidden context, no append-only chat.
Still early alpha, feedback welcome!
github.com/t-kalinowski...
Screenshot of a chatbot that's answering the question 'Tell me about Saxonville Mills during the Civil War'. On the left sidebar is a list of 5 hyperlinked newsletters under "Source searched for responses"
Thanks to new tools like the {ellmer} #RStats π¦ - and {shinychat} and {ragnar} -- as well as powerful new #LLMs, I built an app to query as well as text search a local group's PDF newsletter archive. It's SO much easier to create #GenAI apps in R than just a year ago.
www.district2framing...
I really enjoyed chatting with Karin about bridging R and Python. This post is a deep dive into reticulate, rpy2, and what great interoperability really looks like.
#rstats #python