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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Kyle Andrews <kyle.c.andrews <at> gmail.com>
Subject: bug#42259: closed (Re: bug#42259: emacs-ess 18.10.2 sets R_HOME
 to a ridiculous value by default)
Date: Mon, 28 Sep 2020 03:29:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#42259: emacs-ess 18.10.2 sets R_HOME to a ridiculous value by default

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 42259 <at> debbugs.gnu.org.

-- 
42259: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42259
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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

[Message part 3 (message/rfc822, inline)]
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.



This bug report was last modified 4 years and 291 days ago.

Previous Next


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