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.
Activity
feat!: simplify R executable / console path settings (#1735)