LLM-Powered Code Generation, Error Fixing, and Chat for 'RStudio'
Overview
An 'RStudio' addin that integrates large language model (LLM) assistance directly into the code-editing workflow. Features include: (1) generate R code from inline comments; (2) obtain LLM-assisted fixes for console errors; (3) insert plain-English explanations of selected code blocks; (4) a multi-turn Chat Panel with session-context awareness (loaded packages, global objects, source editor contents, console history). Supports 'OpenAI', 'Anthropic' (Claude), 'DeepSeek', 'Groq', 'Together AI', 'OpenRouter', 'Ollama' (fully local, no API key required), and any 'OpenAI'-compatible custom endpoint (e.g. 'LM Studio', 'vLLM', 'llama.cpp').
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- NOTE12 OK, 1 NOTE2026-06-08
- OK5 OK2026-04-30
Documentation
- Help pages
- 40 (29 internal)
- Examples that run
- 8%1 run in a plain check · 11 never run
- Exported functions with examples
- 50%
- Documented parameters
- 96%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/shiyangzheng/llmcoder on 2026-10-18.
Dependencies
Installing llmcoder adds 40 packages (25 with compiled code, 40 MB of source tarballs). Heaviest: stringi 11 MB, bslib 5.6 MB, promises 3.1 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.2.0Latest2026-05-05 · current release · diff ↗ ·
added 3 exports
addin_chat_panel, session_context_prompt, session_context_report - 1.0.02026-04-29
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-04-29
- Total releases
- 2 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 40 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("llmcoder")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.