[ESS] Have M-x R point at the most recent version of R

Mark Seeto m@rk@eeto @end|ng |rom gm@||@com
Wed Sep 27 20:00:51 CEST 2023


Hi Johannes,

I set the R version using something like this in my init file:
(setq inferior-ess-r-program "C:/Program Files/R/R-4.3.1/bin/x64/Rterm.exe")

But I'm still using ESS 18.10.2 (in Vincent Goulet's Emacs
distribution) so that line might not be the right way to do it in the
version you're using.

Hope that helps.

Mark


> Date: Wed, 27 Sep 2023 06:30:24 +0000
> From: =?utf-8?B?SMO8c2luZywgSm9oYW5uZXM=?=
>          <Johannes.Huesing using krebsregister.nrw.de>
> To: Toby Hocking <tdhock5 using gmail.com>
> Cc: "ess-help using r-project.org" <ess-help using r-project.org>
> Subject: Re: [ESS] Have M-x R point at the most recent version of R
> Message-ID: <36cdec6aa7934e27a2f3c1436f03af55 using krebsregister.nrw.de>
> Content-Type: text/plain; charset="utf-8"
>
> Thanks for the hint.
>
> The path variable is now %USERPROFILE%\AppData\Local\Microsoft\WindowsApps;%USERPROFILE%\AppData\Local\Programs\MiKTeX\miktex\bin\x64;C:\Program Files\R\R-4.3.1\bin;
>
> M-x R will still start R-4.2.2. After renaming C:\Programme\R\R-4.2.2, M-x R will lead to Emacs displaying the message:
> C:/Programme/R/R-4.2.2/bin/R program not found
>
> Is there a way to proceed to notify ESS about the new version installed and have it start by default?
>
>
>
> Johannes Hüsing
> Epidemiologie
>



More information about the ESS-help mailing list