A context-aware AI assistant for 'RStudio' that works directly in the source editor without switching context or opening a separate chat window. Reads the cursor position and selection to automatically choose the right action - generate, complete, continue, edit, or comment. Supports configuration of multiple large language model providers and can be invoked via the keyboard shortcut or Addins menu.
| Version: | 1.0.0 |
| Depends: | R (≥ 4.0.0) |
| Imports: | cli, ellmer (≥ 0.3.0), jsonlite, rlang, rstudio.prefs (≥ 0.1.6), rstudioapi (≥ 0.19.0) |
| Suggests: | testthat (≥ 3.0.0), glue, knitr, rmarkdown, withr |
| Published: | 2026-08-08 |
| DOI: | 10.32614/CRAN.package.codriver (may not be active yet) |
| Author: | S.A. van der Wulp [aut, cre, cph] |
| Maintainer: | S.A. van der Wulp <vdwulp at gmail.com> |
| BugReports: | https://github.com/vdwulp/codriver/issues |
| License: | MIT + file LICENSE |
| URL: | https://vdwulp.github.io/codriver/ |
| NeedsCompilation: | no |
| SystemRequirements: | RStudio (>= 2026.04, https://posit.co/download/rstudio-desktop/) |
| Materials: | README, NEWS |
| CRAN checks: | codriver results |
| Reference manual: | codriver.html , codriver.pdf |
| Vignettes: |
Getting started (source, R code) Using codriver (source, R code) |
| Package source: | codriver_1.0.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): codriver_1.0.0.tgz, r-oldrel (arm64): codriver_1.0.0.tgz, r-release (x86_64): codriver_1.0.0.tgz, r-oldrel (x86_64): codriver_1.0.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=codriver to link to this page.