From ggrothendieck at gmail.com  Sun Oct 26 15:47:03 2008
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Sun, 26 Oct 2008 10:47:03 -0400
Subject: [Rd] Possible uninstall problem on windows.
In-Reply-To: <490475AA.4020403@univie.ac.at>
References: <490475AA.4020403@univie.ac.at>
Message-ID: <971536df0810260747g4bf59cffx73d6aa4cab3c93b2@mail.gmail.com>

Note that Rversions.hta in http://batchfiles.googlecode.com
is a Vista javascript script that will present you with a drop down
list based on the R registry entries (and also allow
you to change which version is current).  Its a single file with no
dependencies so just put it in your current
directory (or anywhere in your path) and enter its name at the
Windows command line to run it (or double click it from Windows
Explorer).   (There is an XP version in batchfiles 0.3-2.)

On Sun, Oct 26, 2008 at 9:50 AM, Erich Neuwirth
<erich.neuwirth at univie.ac.at> wrote:
> I just uninstalled R 2.7.2 on Windows XP after having installed R 2.8.0
> The uninstaller removed the String values
> HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R\Current Version
> HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R\InstallPath
> despite the fact that they pointed to R 2.8.0
> The uninstaller did not remove the key
> HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R\2.7.2
> (and all the values in that key)
>
> I think the uninstaller should only remove the Current Version entry
> if it points to its own version.
>
> In a second attempt, the 2.7.2 uninstaller removed the key
> HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R\2.7.2
> (which is what it should do)
> but it still removed the
> HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R\Current Version
> HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R\InstallPath
> values. It should not have removed these keys.
>
> Sometimes this does not happen, and I have not found a consistent
> explanation when it happens and when not.
> Sometimes also running RSetReg.exe creates a second entry like
> HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R\2.7.2
> which has identical content with the first one.
> The registry really looks like having 2 identical entries.
>
> Is this something which I should file as a bug?
>
>
> --
> Erich Neuwirth, University of Vienna
> Faculty of Computer Science
> Computer Supported Didactics Working Group
> Visit our SunSITE at http://sunsite.univie.ac.at
> Phone: +43-1-4277-39464 Fax: +43-1-4277-39459
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] Possible uninstall problem on windows.
Gabor Grothendieck