I see rm(list = ls()) a lot in my role as a data editor, and I usually recommend removing it. I’ve never really understood the appeal, especially as someone who obsessively restarts sessions 🤷♂️
Posts by Christoph Scheuch
Indeed, Positron has such a restart button and I‘m a frequent user ✌️
I didn’t know that unknown functions are passed along, so I always used sql() - thank you for the reference!
dplyr code with duckdb functions in all caps tbl_files <- tbl(db, "csvs") |> # CAPS for duckdb functions mutate( # $speaker has directory names with the patterns: # - `[speaker]-[listener]` (listener specific data) # - `[speaker]` (default version) # so compute appropriate $speaker, $listener values dir_parts = speaker |> STRING_SPLIT("-"), speaker = dir_parts |> LIST_FIRST(), listener = dir_parts |> LIST_LAST(), listener = ifelse(listener == speaker, "default", listener) ) |> select(speaker, listener, file, label, logprob, model_name, model_commit)
it never ceases to amaze me that I can refer to duckdb functions in R expressions as though they were R functions and everything gets translated to SQL
What kind of sorcery is this?! I love it 🙏
Last week I posted about using structured output in {ellmer} to turn text into data, but a friend pointed out that the LLM had mixed up the words "conscious" and "consciousness" in its summary.
So how can we fix that? 🧵(1/3)
#rstats #llms #ai
ellmer 0.4.0 is out now! New features include Claude caching & file uploads, support for newer OpenAI responses API, web search tools, and better security. Read more at tidyverse.org/blog/2025/11... #rstats
- Ultimate R Bundle: 7 academic style courses taught by top instructors including Dr. Paul Sabin, @niccrane.bsky.social , and @christophscheuch.bsky.social and working professionals in sports and academia, including a preorder on our AI/LLM course releasing in 2026.
Fantastic news! So to add the llm.txt to my site, which is built, rendered and deployed via GitHub Actions, I just switch to the new version in the workflow or do I need to explicitly call build_llm_docs() after build_site_github_pages()?
And a Makefile to orchestrate the execution order of different reports and their potential dependencies ✌️
New R package I developed as part of the `econdataverse` project for accessing macroeconomic data from the International Monetary Fund's IMF Data API was just published to CRAN. 🥳 Writeup here: open.substack.com/pub/modeling...
You can still publish to shinyapps.io from Positron using the rsconnect package
Screenshot of first page of slidecrafting-book.com website
I'm exited to announce a new resource about making slides with quarto and revealjs. This book is the combination of all the work I have done in this area, reordered and polished up
There isn't a lot of new information yet, but this format allows me to add more easily
slidecrafting-book.com
#quarto
We’re thrilled to have @niccrane.bsky.social and @christophscheuch.bsky.social join our team to co-develop our flagship async course, SynergiZing ML & LLMs in R.
We’ve also welcomed @albertrapp.bsky.social to lead our monthly membership track.
👉 Early access updates here: athlyticz.com/ai-signup
I am beyond excited to announce that ggplot2 4.0.0 has just landed on CRAN.
It's not every day we have a new major #ggplot2 release but it is a fitting 18 year birthday present for the package.
Get an overview of the release in this blog post and be on the lookout for more in-depth posts #rstats
Another challenge is being obsessive about function names and consistency since in R we typically load everything into the same namespace. In Python, I’d probably take a different approach, since it’s more common to organize things into (sub-)modules.
Great idea for a post! The tricky part is that you often figure things out along the way (e.g. column / parameter names), which then forces changes in other packages (i.e. breaking changes / soft deprecations). A meta-package that loads the rest is easy to set up thanks to the tidyverse 🙏
Big milestone: {econdataverse} is now on CRAN #rstats. Install & load multiple #EconDataverse packages in one step, just like the {tidyverse} 🥹
Wasn’t it some Excel mess? Like hitting row limits and wrong references. Guess the first step would be a code-first approach 🫠
tidyverse blog: Breaking down language barriers in data science
nanonext is a messaging and concurrency toolkit, connecting R to polyglot data science pipelines involving modules written in Python, Rust, Go and C++ etc.
www.tidyverse.org/blog/2025/09...
#RStats #tidyverse
Looking forward to my first pure #Python conference ever at PyData Berlin 🐍
If you are interested in getting to know Shinylive and WebAssembly in Python, feel free to join my talk tomorrow at noon titled „Building Reactive Data Apps with Shinylive and WebAssembly“ ✌️
The first vignette offers a detailed look at what’s possible with {datacommons} in #rstats: tidy-intelligence.github.io/r-datacommon...
Another new CRAN release with @tealemery.bsky.social 💪 {datacommons} is a wrapper for the Google Data Commons API v2, which provides unified access to global public stats in a knowledge graph, thus reducing data-wrangling pain.
Feedback as always very welcome 🙏
github.com/tidy-intelli...
Working hard at more R packages 😅
New #RStats package on CRAN: {imfweo} (w/ @tealemery.bsky.social) gives easy access to IMF’s World Economic Outlook. It's part of the #EconDataverse, helping economists + financial professionals work with sovereign-level data. Feedback welcome ✌️
github.com/Teal-Insight...
New CRAN package imfweo with initial version 0.1.0
#rstats
https://cran.r-project.org/package=imfweo
Happy to announce ✨quarto-revealjs-editable✨
This fully supersedes the imagemover extension, as I back then didn't realize the potential. You can now also move, resize, change font size and alignment for text in your slides
github.com/EmilHvitfeld...
#quarto #slidecrafting
An arrow with a LaTeX equation
Trigonometric functions and a unit circle
A bivariate change model with structured residuals
A hierarchical model of cognitive abilities
Now on CRAN, ggdiagram is a #ggplot2 extension that draws diagrams programmatically in #Rstats. Allows for precise control in how objects, labels, and equations are placed in relation to each other.
wjschne.github.io/ggdiagram/ar...