Raven - R Language ServerA language server for R, JAGS, and Stan with cross-file awareness. FeaturesR
JAGS (
|
| Setting | Default | Description |
|---|---|---|
raven.diagnostics.enabled |
true |
Enable/disable all diagnostics |
raven.diagnostics.undefinedVariables |
true |
Enable undefined variable diagnostics |
raven.packages.enabled |
true |
Enable package function awareness |
raven.packages.rPath |
auto-detect | Path to R executable |
raven.crossFile.indexWorkspace |
true |
Enable background workspace indexing |
raven.server.path |
bundled | Path to raven binary (if not using the bundled one) |
Open Settings (Ctrl+, / Cmd+,) and search for "raven" to see all options, or see the full configuration reference.
Using with vscode-R
To run R code, view plots, and access other interactive features, install the vscode-R extension alongside Raven. You can leave the language server that comes with vscode-R enabled (vscode-R provides formatting diagnostics, Raven provides code diagnostics), or disable vscode-R's language server to avoid duplicate completions:
"r.lsp.enabled": false
You may also want to push snippets below LSP completions to reduce duplicate entries:
"editor.snippetSuggestions": "bottom"
Using with Sight (Stata)
If you work with Stata, see Sight—a Stata language server with the same cross-file awareness model as Raven. The Sight extension provides the language server plus syntax highlighting and code execution features.
More Information
See the main repository README for full documentation including installation, cross-file directives, and configuration details.