Skip to content

Get R term path from registry in Windows #244

@renkun-ken

Description

@renkun-ken

Currently, Windows users have to manually set the R term path before creating an R terminal.

But it might be true that many beginner users don't know where the R binary is located or may get confused by x86, x64 stuff.

If Windows users install R with default settings, then the installation will write R path to registry. Therefore, it seems to make sense to try reading from registry first to determine R path, just like what is done in vscode-r-lsp at https://github.com/REditorSupport/vscode-r-lsp/blob/master/src/extension.ts#L11. We may borrow that function here to make it easier for Windows users.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions