Yes, thatβs part of the goal. It does not force the LLM to pick the LSP tool so it may still grep, but it gives it the option to use it. It will also automatically give it feedback as code changes, which should help it get the task correct without needing as many follow-up prompts
09.03.2026 13:13
π 1
π 0
π¬ 0
π 0
Using an R language server with Claude Code β Christopher T. Kenny
Giving Claude access to an R LSP to improve its interaction with your codebase.
Here's a quick guide to setting up an R LSP for Claude Code in #rstats: christophertkenny.com/posts/2026-0...
Note that it uses the `languageserver` package at the moment, since I don't believe ark is exposed for a standalone mode yet.
08.03.2026 17:06
π 15
π 4
π¬ 1
π 0
I see the appeal for a lot of social scientists. There are many folks in the field who are consumers of data analysis/statistics because they see it as necessary to publish research.
Many use RStudio and have no interest or experience using other IDEs or the CLI. This serves that group well.
07.03.2026 17:33
π 1
π 0
π¬ 0
π 0
Introducing AI in RStudio
Today weβre introducing AI in RStudio. Weβve embedded a specialized agent directly into RStudio so it can read your live session context and provide more accurate assistance for data science and analy...
News for #RStats folks who use RStudio and are interested in AI, via @posit.co: "AI in RStudio is here. Weβve embedded a specialized agent, Posit Assistant, directly into RStudio, transforming the IDE into a powerful, context-aware collaborator for data analysis."
It's a $20/mo subscription.
06.03.2026 20:45
π 5
π 3
π¬ 0
π 0
Over the weekend, I started collecting/organizing a list of cool #rstats skills for LLMs at github.com/christopherk.... Please open an issue or PR in any awesome additions you see!
Includes a section for helpful posts like @ivelasq3.bsky.social'sβ¬οΈ
04.03.2026 22:00
π 40
π 12
π¬ 2
π 0
One weird pattern from playing with Claude Code and GitHub Copilot CLI:
Claude Code loves to use bash and python, even when working on R code (and then gets confused since there is no πinstalled)
Copilot, with the same models, seems to naturally know to use R and powershell
04.03.2026 13:50
π 4
π 2
π¬ 0
π 0
I moved everything CRAN-related to one proton mail (to avoid changing academic emails) and itβs incredibly nice to have it all in one place without any other noise. Much easier to keep track of deadlinesβ¦
03.03.2026 20:58
π 2
π 0
π¬ 0
π 0
PlanScoreβs New Midterm-Ready Vote Predictions
This week, the 2026 mid-term election season is kicking off in earnest with U.S. House primaries in Arkansas, Texas, and North Carolinaβ¦
Getting ready for the 2026 mid-terms, every PlanScore analysis page moving forward will now feature a new scenario adjustment tool to make it easy to change, view, and share potential outcomes that may differ from 2024
medium.com/planscore/pl...
Try with this NC map:
planscore.org/plan.html?20...
02.03.2026 17:27
π 11
π 6
π¬ 0
π 2
Thanks Rohan! Hope youβre doing well
25.02.2026 14:30
π 1
π 0
π¬ 0
π 0
Read the preprint here: arxiv.org/pdf/2407.11336
25.02.2026 14:15
π 2
π 0
π¬ 0
π 0
Redistricting Reforms Reduce Gerrymandering by Constraining Partisan Actors is now forthcoming in the APSR!
We use a game theoretic treatment and continuous DiD(iD) to show when redistricting reforms work
with @corymccartan.com, @simko.bsky.social, Emma Ebowe, Michael Zhao, and Kosuke Imai
25.02.2026 14:15
π 18
π 9
π¬ 3
π 0
Packages 2025 Wrapped β Christopher T. Kenny
A look at my R package updates from 2025
My 2025 #rstats wrapped in honor of CRAN reopening for 2026: christophertkenny.com/posts/2026-0...
Fun fact: I made 43 CRAN uploads in 2025 and 41 of them were successful!
07.01.2026 14:02
π 6
π 0
π¬ 0
π 1
Throwback to my favorite #rstats Ripley crashout where he removed a package because a maintainer called him Brian
11.12.2025 17:16
π 7
π 2
π¬ 2
π 0
Some people are fundamentally unkind. It's a shame. The broader R community is incredible and the other CRAN volunteers especially so.
11.12.2025 17:14
π 2
π 0
π¬ 1
π 0
Nothing like starting the day responding to a Brian Ripley hissy fit...
He removes an #rstats package before the scheduled date, gets a bounceback from a *downstream* package, and archives all of the packages...
CRAN volunteers time is the most valuable resource, yet Ripley just loves wasting it
11.12.2025 16:09
π 2
π 0
π¬ 1
π 1
Oh awesome, thank you both. I had looked for this a few weeks ago and didnβt see an option
10.12.2025 19:21
π 2
π 0
π¬ 0
π 0
Glad we have LLMs in everything so that GitHub tries to create commit messages like this... Just makes more work by having to delete the message to write in a correct one instead of just writing the correct one in the first place
10.12.2025 15:26
π 5
π 1
π¬ 2
π 0
Chapter 20 Packages | Mastering Shiny
If you are creating a large or long-term Shiny app, I highly recommend that you organise your app in the same way as an R package. This means that you: Put all R code in the R/ directory. Write a...
Is there an #rstats best practices for including a shiny app in an R package? I see mastering-shiny.org/scaling-pack... by @hadley.nz and github.com/daattali/ddpcr by Dean Attali (couldn't find his handle!) - just curious on understanding best practices, bunding data, app, and the www folder etc.
10.12.2025 00:49
π 11
π 3
π¬ 5
π 0
Open Source Geometry Engine (GEOS) C API
Provides the Open Source Geometry Engine (GEOS) as a
C API that can be used to write high-performance C and C++
geometry operations using R as an interface. Headers are provided
to make linking ...
@corymccartan.com and I have been playing with @paleolimbot.bsky.social's #rstats `libgeos` package. It's pretty awesome.
Handles the hard parts so that you can connect Rcpp to GEOS with a few lines of code. Got some existing, optimized `geos` code to ~3x faster!
paleolimbot.github.io/libgeos/
18.11.2025 23:01
π 9
π 2
π¬ 0
π 0
Oh awesome, thanks for sharing. Kieran Healy is always doing awesome work. Not shocked that he did this first!
07.11.2025 16:42
π 1
π 0
π¬ 0
π 0
A dot density map of NYC where each point represents 50 voters. Lines show NYC neighborhoods. Density is highest in Manhattan with a lot of dots for Mamdani. Areas of Staten Island and Brooklyn are dense and yellow for Cuomo.
NYC 2025 Mayoral results as a dot density plot using the `dots` #rstats package (cran.r-project.org/web/packages...)
07.11.2025 14:01
π 46
π 11
π¬ 4
π 5
GitHub - hadley/genzplyr: dplyr but make it bussin fr fr no cap
dplyr but make it bussin fr fr no cap. Contribute to hadley/genzplyr development by creating an account on GitHub.
Do you teach #rstats? Do your students complain about how lame and old-fashioned dplyr is? Don't worry: I have the solution for you: github.com/hadley/genzp....
genzplyr is dplyr, but bussin fr fr no cap.
06.11.2025 23:25
π 460
π 167
π¬ 42
π 55
Support for Prop 50 in California is highly correlated with support for Harris in 2024 and even runs slightly ahead of her
A sad day for democracy to have the future of competitive elections literally on the ballot and yet be so utterly defeated.
Stands at 63.9% voting yes.
06.11.2025 02:24
π 2
π 0
π¬ 0
π 0
Thanks for sharing!
05.11.2025 20:39
π 1
π 0
π¬ 0
π 0
How to Analyze bluesky Posts and Trends with R - Storybench
If all you're doing on bluesky is scrolling, liking and posting, then you're riding a bike with training wheels. Here are simple tools using its open-source skeleton.
There are a lot of great posts out there that aren't very highly ranked.
Don't rely on bluesky to find you great content; you can find it on your own! Here's how:
#Rstats via @northeasternu.bsky.social's Storybench
www.storybench.org/how-to-analy...
05.11.2025 19:58
π 136
π 6
π¬ 2
π 1
Yeah and once you start adding known precinct covariate, the possibilities really explode. We ended up with several internal (quarto) dashboards to handle plotting everything on the fly
05.11.2025 20:33
π 2
π 0
π¬ 0
π 0
2025 NYC Mayoral Race by Neighborhood
CBS News estimates of how different parts of the city voted
NYC map shaded by vote margin!
We collected very granular precinct data and aggregated it to neighborhoods people actually recognize
Bushwick, Flushing, Upper West Side, etc.
datawrapper.dwcdn.net/Wrd72/
H/T @mitelectionlab.bsky.social @chriskenny.bsky.social @corymccartan.com @simko.bsky.social
05.11.2025 17:26
π 10
π 4
π¬ 0
π 0
For the on-air presenting and digital media, we also built a live neighborhood map: www.cbsnews.com/news/nyc-may... (now filled by margin!)
05.11.2025 17:23
π 5
π 0
π¬ 1
π 0
Here at the CBS News data desk with @chriskenny.bsky.social and @simko.bsky.social! Looking at the VA numbers
05.11.2025 00:55
π 12
π 2
π¬ 0
π 0
Finishing up prep for election night at CBS News' Data Desk!
Sunday in NYC was the highest single day early votes since at least 2019 and maybe ever:
04.11.2025 19:25
π 5
π 2
π¬ 0
π 1