The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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 ORCID iD [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:

Reference manual: llmcoder.html , llmcoder.pdf

Downloads:

Package source: llmcoder_1.2.0.tar.gz
Windows binaries: r-devel: llmcoder_1.2.0.zip, r-release: llmcoder_1.2.0.zip, r-oldrel: llmcoder_1.2.0.zip
macOS binaries: r-release (arm64): llmcoder_1.2.0.tgz, r-oldrel (arm64): llmcoder_1.2.0.tgz, r-release (x86_64): llmcoder_1.2.0.tgz, r-oldrel (x86_64): llmcoder_1.2.0.tgz
Old sources: llmcoder archive

Reverse dependencies:

Reverse suggests: chatRater

Linking:

Please use the canonical form https://CRAN.R-project.org/package=llmcoder to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.