[R-pkg-devel] problem with regdmp finding v4.2.x under Windows

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Tue Jul 5 10:15:05 CEST 2022


Hi Jonathan,

Since we don't have a separate "R on Windows" or "R installation
and administration" mailing list, I think that this question is a
better fit for R-help, not R-package-devel. Although R-devel could be
an option too (if we determine that the R installer is doing something
wrong), the last time R installer has been significantly changed is
2020, so the problem is likely elsewhere.

On Tue, 5 Jul 2022 01:59:43 +0000
Jonathan Godfrey <A.J.Godfrey using massey.ac.nz> wrote:

> To do all of that efficiently, I make extensive use of batch files
> (Windows user alert) and a key ingredient of those batch files is
> that I avoid having to edit the R version number with each
> installation.

Can you show us the relevant parts of the batch files?
 
> On my older desktop which has multiple R installations, I do not get
> an "Access denied" error, quarto finds the path to the 4.2.0
> installation via brute force, but regdmp via my batch files gives me
> 4.1.x instead.

What is the output of the following commands on the machines where you
have troubles finding R-4.2.x?

reg query "HKEY_LOCAL_MACHINE\Software\R-core"
reg query "HKEY_CURRENT_USER\Software\R-core"

> 	[[alternative HTML version deleted]]

This mailing list removes the HTML parts from our messages, so we only
see the automatically-generated plain text part. In this case, I think
that your message wasn't damaged at all, but sometimes (especially when
pasting code or output examples) the results can be undesirable.

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list