R: configure default runtime #6207
Labels
area: runtimes
Issues related to Language Runtimes
area: workbench
Issues related to Workbench category.
enhancement
New feature or request
lang: r
theme: runtime startup
Milestone
Implementation Summary
Create an equivalent option to
python.defaultInterpreterPath
for R.A new option will be added to a default path to an R binary which will be used for newly opened workspaces. The user can configure this option via the Settings UI or via the user
settings.json
directly. As such, these settings will be applicable at the workspace and/or user scopes, and can be preset by a workbench admin viapositron-user-settings.json
.add
positron.r.interpreters.default
settings optionpython.defaultInterpreterPath
's descriptionR
(which R
) -- this would be consistent withpython.defaultInterpreterPath
which haspython
as the defaultMockup of Settings UI
Difference between this issue and #2659
This issue is distinct from #2659 in that this issue is about establishing a default interpreter for any general workspace a user opens, whereas #2659 focuses on specifying a default interpreter for a specific workspace.
/path/to/my/interpreter/4.3.0/R
to be used by default, until I change it to something elseImplementation Considerations
What if a user specifies invalid paths, the interpreters or directories don’t exist, or something else is wrong with the user’s input in settings?
What if a user has interpreter includes, excludes AND overrides specified?
Example scenario
How does the default path option work if the workspace-level setting is configured for a collaborative project?
which R
The text was updated successfully, but these errors were encountered: