Package: llmcoder 1.2.0
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').
Authors:
llmcoder_1.2.0.tar.gz
llmcoder_1.2.0.zip(r-4.7)llmcoder_1.2.0.zip(r-4.6)llmcoder_1.2.0.zip(r-4.5)
llmcoder_1.2.0.tgz(r-4.6-any)llmcoder_1.2.0.tgz(r-4.5-any)
llmcoder_1.2.0.tar.gz(r-4.7-any)llmcoder_1.2.0.tar.gz(r-4.6-any)
llmcoder_1.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
llmcoder/json (API)
| # Install 'llmcoder' in R: |
| install.packages('llmcoder', repos = c('https://shiyangzheng.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/shiyangzheng/llmcoder/issues
chatgptclaude-aillmollamapsycholinguisticsrstudio-addin
Last updated from:b0866db880. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 123 | ||
| source / vignettes | OK | 172 | ||
| linux-release-x86_64 | OK | 133 | ||
| macos-release-arm64 | OK | 194 | ||
| macos-oldrel-arm64 | OK | 181 | ||
| windows-devel | OK | 82 | ||
| windows-release | OK | 72 | ||
| windows-oldrel | OK | 85 | ||
| wasm-release | OK | 109 |
Exports:addin_chat_paneladdin_explain_codeaddin_fix_console_erroraddin_fix_selected_erroraddin_generate_from_commentaddin_generate_with_previewaddin_settingsllmcoder_configllmcoder_setupollama_list_modelssession_context_promptsession_context_report
Dependencies:askpassbase64encbslibcachemclicommonmarkcurldigestfastmapfontawesomefsgluehtmltoolshttpuvhttr2jquerylibjsonlitelaterlifecyclemagrittrmemoisemimeminiUIopensslotelpromisesR6rappdirsRcpprlangrstudioapisassshinysourcetoolsstringistringrsysvctrswithrxtable
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Explain selected R code as inline comments | addin_explain_code |
| Fix the last console error automatically | addin_fix_console_error |
| Fix an error by selecting its text | addin_fix_selected_error |
| Generate R code from a comment (silent insert) | addin_generate_from_comment |
| Generate R code with an editable preview dialog | addin_generate_with_preview |
| Open the LLMcoder settings dialog | addin_settings |
| Show the current LLMcoder configuration | llmcoder_config |
| Configure LLMcoder for the current session | llmcoder_setup |
| List models available on a running Ollama server | ollama_list_models |
| Build a session-context system-prompt block | session_context_prompt |
| Capture a human-readable report of the current R session state | session_context_report |
