James Wade
jameshwade.bsky.social
James Wade
@jameshwade.bsky.social
Analytical chemist in industry working on materials characterization and data science. Interested in #rstats, modeling, & sustainability. Owner of many pets.
My holiday project was building dsprrr, a package for declarative LLM programming in R, inspired by DSPy. The core idea is to treat LLM workflows as programs you can systematically optimize, not prompt strings you tweak by hand.
January 7, 2026 at 9:05 PM
Reposted by James Wade
Introducing ensure, a new #rstats package for LLM-assisted unit testing in RStudio! Select some code, press a shortcut, and then the helper will stream testing code into the corresponding test file that incorporates context from your project.

github.com/simonpcouch/...
December 9, 2024 at 3:02 PM
Jumping on the #rstats "we're so back" train 🚂

Here's two fun (unrelated) things I scrolled upon tonight:

📊 tinyplot - base R plotting system with grouping, legends, facets, and more 👀 github.com/grantmcdermo...
🔎 openalexR - Clean API access to search OpenAlex docs.ropensci.org/openalexR/ar...
GitHub - grantmcdermott/tinyplot: Lightweight extension of the base R graphics system
Lightweight extension of the base R graphics system - grantmcdermott/tinyplot
github.com
November 18, 2024 at 3:02 AM
Worst prank *ever*
November 6, 2024 at 1:41 AM
Having a hard time focusing on code today. Instead of refreshing news sites, tell me about an R package or function that made your life easier recently?

I finally figured out how group_modify() works, and it's been a game-changer for some nested data madness. #rstats #dataBS
November 5, 2024 at 11:27 PM
If you’ve been waiting try out LLMs with code, now is the time to do it.
A few things I've been working on lately:

elmer, elmer.tidyverse.org, is a new package to make it easier to work with LLMs (hosted and local) from #rstats. It includes helps for structured data extraction and tool calling, and an easy way to upload a plot. Joint work with Joe Cheng.
October 29, 2024 at 10:42 PM
Reposted by James Wade
The last Wednesday of each month I host a Workflow Demo with various Posit folks 💛

Tomorrow Oct 30th @ 11am ET Ryan Johnson will share how to use #Quarto & #Shiny to create #Typst PDFs dynamically 🎉

add to 🗓️: pos.it/team-demo
I know it's during R/Pharma 😬 so please know it's recorded too!
October 29, 2024 at 9:33 PM
You can now build a chatbot in shiny in less than 20 lines of code. shinychat and elmer make this much easier than it was even a month ago.

elmer nails LLM abstractions. Go check them out if you haven't already!
October 29, 2024 at 7:39 PM
I had fun giving a talk at #rpharma about how to integrate AI into your shiny apps.

You can check out my talk here: jameshwade.github.io/r-pharma-talk/
October 29, 2024 at 5:55 PM