llmcoder: LLM-Powered Code Generation, Error Fixing, and Chat for
'RStudio'
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').
| Version: |
1.2.0 |
| Depends: |
R (≥ 4.1.0) |
| Imports: |
rstudioapi (≥ 0.13), httr2 (≥ 1.0.0), miniUI (≥ 0.1.1), shiny (≥ 1.7.0), stringi (≥ 1.7.0), stringr (≥ 1.5.0), rlang (≥ 1.0.0), htmltools (≥ 0.5.0), jsonlite (≥ 1.8.0) |
| Suggests: |
testthat (≥ 3.0.0), withr (≥ 2.5.0) |
| Published: |
2026-05-05 |
| DOI: |
10.32614/CRAN.package.llmcoder |
| Author: |
Shiyang Zheng
[aut, cre] |
| Maintainer: |
Shiyang Zheng <shiyang.zheng at nottingham.ac.uk> |
| BugReports: |
https://github.com/ShiyangZheng/llmcoder/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://github.com/ShiyangZheng/llmcoder |
| NeedsCompilation: |
no |
| Citation: |
llmcoder citation info |
| CRAN checks: |
llmcoder results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=llmcoder
to link to this page.