R autocomplete works in the Console but not reliably in script editors #15602
Replies: 1 comment
|
Hmmmm, I'm not sure we've heard a lot about this so far and I don't think I've observed it myself:
A few questions to narrow this down:
The Output panel log might help too. Open the Output panel, pick "R Language Server" in the dropdown, then paste the last part of it. A crash or a restart in that log could explain the inconsistency. Related to the inline output settings, Positron 2026.08.1 has a bug in this area (#15409). The R language server reads the old setting key only. If you set |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am having trouble with R code completion in Positron script editors.
In the R Console, attribute and namespace completion is almost immediate. For example, after typing dplyr::, I can quickly see and select functions from the dplyr package. Similarly, I can inspect data-frame columns after typing my_data$.
In an R script (specifically qmd), however, the same completion is inconsistent or does not appear. I often have to copy an object reference from the script, paste it into the Console, and use completion there to find a data-frame column or package function.
Positron Version: 2026.08.1 (user setup) build 2
Code - OSS Version: 1.124.0
Commit: 48dc4ce
Date: 2026-08-09T13:35:16-06:00
Electron: 42.2.0
Chromium: 148.0.7778.97
Node.js: 24.15.0
V8: 14.8.178.14-electron.0
OS: Windows_NT x64 10.0.26200
All reactions