We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 923613f commit 966fd98Copy full SHA for 966fd98
src/core/resources.ts
@@ -82,14 +82,14 @@ export async function rBinaryPath(binary: string): Promise<string> {
82
if (Deno.build.os === "windows") {
83
// determine current version
84
const version = await registryReadString(
85
- [kHKeyLocalMachine, kHKeyCurrentUser],
+ [kHKeyCurrentUser, kHKeyLocalMachine],
86
"Software\\R-core\\R",
87
"Current Version",
88
);
89
// determine path to version
90
if (version) {
91
const installPath = await registryReadString(
92
93
`Software\\R-core\\R\\${version}`,
94
"InstallPath",
95
0 commit comments