{otel} + #rstats is becoming a crazy partnership.
This project has driven me to use/write {promises} in ways that makes my π§ ache π
. The reward is worth it!
See you at #PositConf2025 where I'll talk about this in more detail
@atheriel.bsky.social
Software engineer building products at @posit.co. Occasional open-source #rstats work. Obscure Linux/ZFS stuff on the side.
{otel} + #rstats is becoming a crazy partnership.
This project has driven me to use/write {promises} in ways that makes my π§ ache π
. The reward is worth it!
See you at #PositConf2025 where I'll talk about this in more detail
A screenshot showing the Logfire tracing UI with traces from a Shiny app using ellmer, httr2, and mirai on the left and some attributes on the right.
A Shiny chatbot with a conversation about the weather in Atlanta, GA. It clearly serves as the source of the traces in the first image.
More #rstats + OpenTelemetry news: @schloerke.com finally got all of the async issues in {ellmer} and {shiny} sorted out and tracing now works!
Here's what combining {shiny} + {ellmer} + {httr2} + {mirai} + {otel} looks like today.
(All credit for the screenshots to @schloerke.com.)
The internals of {ellmer} are like the final boss of modern #rstats package codebases: S7, httr2, promises, and coro *everywhere*. It really shows how to push the limit of what can be done with R.
09.09.2025 17:06 β π 12 π 0 π¬ 1 π 0I think that's true! Isn't that good, though? The whole point of Positron was the desire to deliver something more than what VS Code could offer, even with high-quality extensions.
08.09.2025 19:08 β π 1 π 0 π¬ 1 π 0What do you mean by "VS Code support"? I don't think we've had much involvement with vscode-r or {languageserver} at all; both seem like community efforts.
08.09.2025 18:41 β π 0 π 0 π¬ 1 π 0Positron inherits much of the extension development experience from VS Code. In my experience it feels pretty good.
However, you are fairly limited in the kind of custom UI you can inject. Best to look here to see what's (generally) possible first: code.visualstudio.com/api/extensio...
A screenshot showing the Logfire tracing UI with traces from an HTTP client on the left and some attributes on the right. The trace names and attributes indicate that they are emitted by the R package "httr2".
More #rstats OpenTelemetry tidbits: I've revived the PR that adds instrumentation to the {httr2} package.
Here is what is looks like to run {httr2}'s own test suite while looked up to Logfire:
... meanwhile, internally, we're like "OH GOD THERE ARE SO MANY UX BUGS TO FIX".
05.09.2025 19:17 β π 4 π 0 π¬ 1 π 0There's been a big push at Posit this summer to get high-quality OpenTelemetry support out to the #rstats community (a longstanding dream of mine).
I think {mirai} is the first package release to showcase this work, and as per usual with @shikokuchuo.net, it was done in record time!
The other VS Code forks (Cursor, etc.) don't really seem to have leaned into this extensibility by adding APIs of their own, but #Positron has, and it's been a ton of fun to build #rstats tooling in Typescript because of this.
05.09.2025 15:58 β π 9 π 1 π¬ 1 π 0In the last few months I've worked a fair bit in Typescript building "VS Code" extensions for #Positron. It's my first time using that language or the extension APIs, and I have to say that the teams at Microsoft have done some incredible work on both.
05.09.2025 15:57 β π 6 π 1 π¬ 1 π 0Somehow, for the third time in my life, I'm wondering if I need to write a #linux NSS module to solve my problems...
03.09.2025 17:37 β π 1 π 0 π¬ 0 π 0odbc 1.6.2 is now on #rstats CRAN! A good few QOL improvements, especially for Databricks and Snowflake users: github.com/r-dbi/odbc/r...
29.08.2025 13:22 β π 10 π 3 π¬ 0 π 0Collaborate > automate. Databot logo alongside screenshot of Positron.
Introducing Databot: an AI assistant for exploratory data analysis in #Python and #RStats!
A research preview in Positron, Databot is a tireless pair programmer to help you explore data.
Learn more about this tool and our philosophy behind it:
π€ posit.co/blog/introdu...
β οΈ posit.co/blog/databot...
Announcing the Posit Publisher VS Code extension!
This new tool makes it easy for #RStats and #Python users to deploy data science content, like Shiny apps, Quarto docs, and Jupyter notebooks, from #VSCode and Positron directly to Posit Connect.
Learn more and install open-vsx.org/extension/po...
π ellmer π makes it easy and fun to use LLMs from #rstats, and 0.3.0 is out now. Read about the new streamlined chat() function, improvements to tool specifications, and more at www.tidyverse.org/blog/2025/07....
25.07.2025 13:25 β π 81 π 24 π¬ 2 π 2Privatelink woes subtweet?
10.07.2025 19:22 β π 1 π 0 π¬ 1 π 0We're having a hard time figuring out the correct (minimal-permission) API scope for using Vertex AI from the #rstats {ellmer} package. If you have access to Vertex (we don't) and want to test, here is where to start:
github.com/tidyverse/el...
github.com/tidyverse/el...
github.com/tidyverse/el...
Hadley Wickham in a white t-shirt and jeans sits on a light-colored couch across from Michael Chow, wearing a dark green shirt and pants, who is seated on an orange pouf. Between them is a white coffee table with books. In the background, there's a dark bar with shelves displaying numerous bottles, a wood-paneled wall, and a black, modern fireplace. Text overlay reads "Hadley Wickham CHIEF SCIENTIST, POSIT".
Ever wonder how the #tidyverse came to be? π€
#TheTestSet's first episode features @hadley.nz on his accidental empire of #RStats packages, bear encounters, and more!
Stream it at thetestset.co, Spotify, or Apple Podcasts.
#DataAnalytics #PodcastLaunch
Small #rstats improvement for folks interested in RAG with {ragnar} (and just in time for their conference): github.com/tidyverse/ra...
09.06.2025 21:32 β π 1 π 0 π¬ 0 π 0For those following the #rstats {ellmer} package: I got the chat_databricks() and chat_snowflake() providers working with tool calling this past week. IMHO this means these providers are no longer toys: they can be used with RAG (via {ragnar}) and other complex tasks like @simonpcouch.com's {btw}.
08.06.2025 22:45 β π 9 π 2 π¬ 1 π 0Second pass: traces from a RAG in Langfuse constructed using both #rstats {ragnar} and {ellmer}. This shows a tool call out to a text embedding model as well as a general-purpose one, which is a bit more realistic (and interesting).
08.06.2025 22:31 β π 2 π 0 π¬ 0 π 0A screenshot showing a trace in Langfuse. Visible are chat completions and their underlying HTTP requests, a tool call span, and a root span called "invoke_agent".
Currently wiring up a simple #rstats ellmer chatbot to send traces to Langfuse. These LLM observability platforms have some pretty slick UI:
08.06.2025 17:13 β π 6 π 0 π¬ 0 π 0OpenTelemetry is a hugely popular collection of SDKs and specifications for vendor-neutral observability, but that doesn't sound all that exciting in isolation. I'd suggest watching some demos for distributed tracing with one of the big platforms that implement it, e.g. Grafana Tempo.
08.06.2025 17:09 β π 1 π 0 π¬ 0 π 0Want to easily use LLMs from R? ellmer 0.2.0 provides:
β’ Batch & parallel processing
β’ A universal parameter interface
β’ Cost tracking
β’ Support for Mistral, Hugging Face, & Portkey
And much more! Read all about it at: www.tidyverse.org/blog/2025/05... #rstats
Title of your conf talk?
04.06.2025 21:22 β π 0 π 0 π¬ 1 π 0Thanks to some great work from @gaborcsardi.org my longstanding dream of bringing high-quality OpenTelemetry tooling to #rstats is starting to get off the ground.
04.06.2025 21:19 β π 6 π 0 π¬ 1 π 0mirai is now an 'enhances' package of the base parallel package
New in #rstats R4.5.0: `parallel::makeCluster(6, "MIRAI")` creates a parallel mirai cluster with 6 nodes. Yes that's right, mirai is now officially a base R cluster type!
mirai.r-lib.org
Result of work from the R Project Sprint in Warwick 2023 in collaboration with Luke Tierney (R Core).
Introducing acquaint, an R package that turns your R sessions into a Model Context Protocol (MCP) server. This allows MCP-enabled tools like Claude Desktop and Claude Code to run #rstats code _in your active R sessions_ to explore objects, read documentation, etc.
posit-dev.github.io/acquaint/
Does it still count as conference-driven development if you're not actually going to the conference?
29.05.2025 21:11 β π 0 π 0 π¬ 0 π 0