GNU bug report logs - #42259
emacs-ess 18.10.2 sets R_HOME to a ridiculous value by default

Previous Next

Package: guix;

Reported by: Kyle Andrews <kyle.c.andrews <at> gmail.com>

Date: Wed, 8 Jul 2020 04:12:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42259 in the body.
You can then email your comments to 42259 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#42259; Package guix. (Wed, 08 Jul 2020 04:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kyle Andrews <kyle.c.andrews <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 08 Jul 2020 04:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kyle Andrews <kyle.c.andrews <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: emacs-ess 18.10.2 sets R_HOME to a ridiculous value by default
Date: Wed, 08 Jul 2020 00:11:30 -0400
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.




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Mon, 28 Sep 2020 03:29:02 GMT) Full text and rfc822 format available.

Notification sent to Kyle Andrews <kyle.c.andrews <at> gmail.com>:
bug acknowledged by developer. (Mon, 28 Sep 2020 03:29:02 GMT) Full text and rfc822 format available.

Message #10 received at 42259-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Kyle Andrews <kyle.c.andrews <at> gmail.com>
Cc: 42259-done <at> debbugs.gnu.org
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
Hello,

Kyle Andrews <kyle.c.andrews <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 26 Oct 2020 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.