--- Begin Message ---
Subject: |
emacs-ess 18.10.2 sets R_HOME to a ridiculous value by default |
Date: |
Wed, 08 Jul 2020 00:11:30 -0400 |
User-agent: |
mu4e 1.4.10; emacs 26.3 |
I have been noticing many warnings coming from R in several contexts
saying:
WARNING: ignoring environment value of R_HOME
See for example the output of running:
$ R --version
This warning appears to be coming from line 69 of ess-r-gui.el where an
unset environment variable R_HOME is being set in elisp code which is
pointing to some ancient version of R located inside a Microsoft Windows
file system:
R_HOME="c:/progra~1/R/R-2.6.1"
This whole ess-r-gui.el file seems to be dedicated to interfacing with
software in Microsoft Windows which doesn't seem at all relevant in the
Guix world. This whole file can probably be safely deleted along with
line 164 in the ESS/lisp/Makefile which I think triggers byte
compilation.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#42259: emacs-ess 18.10.2 sets R_HOME to a ridiculous value by default |
Date: |
Sun, 27 Sep 2020 23:29:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hello,
Kyle Andrews <kyle.c.andrews@gmail.com> writes:
> I have been noticing many warnings coming from R in several contexts
> saying:
>
> WARNING: ignoring environment value of R_HOME
>
> See for example the output of running:
>
> $ R --version
>
> This warning appears to be coming from line 69 of ess-r-gui.el where an
> unset environment variable R_HOME is being set in elisp code which is
> pointing to some ancient version of R located inside a Microsoft Windows
> file system:
>
> R_HOME="c:/progra~1/R/R-2.6.1"
>
> This whole ess-r-gui.el file seems to be dedicated to interfacing with
> software in Microsoft Windows which doesn't seem at all relevant in the
> Guix world. This whole file can probably be safely deleted along with
> line 164 in the ESS/lisp/Makefile which I think triggers byte
> compilation.
This should be fixed in commit 0939462e3f81bc98b38bdb7610e6a80ca1cbaa1b.
Closing. Thanks for the report!
Maxim
--- End Message ---