unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#42259: emacs-ess 18.10.2 sets R_HOME to a ridiculous value by default
@ 2020-07-08  4:11 Kyle Andrews
  2020-09-28  3:29 ` Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Kyle Andrews @ 2020-07-08  4:11 UTC (permalink / raw)
  To: 42259


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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#42259: emacs-ess 18.10.2 sets R_HOME to a ridiculous value by default
  2020-07-08  4:11 bug#42259: emacs-ess 18.10.2 sets R_HOME to a ridiculous value by default Kyle Andrews
@ 2020-09-28  3:29 ` Maxim Cournoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2020-09-28  3:29 UTC (permalink / raw)
  To: Kyle Andrews; +Cc: 42259-done

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-28  3:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08  4:11 bug#42259: emacs-ess 18.10.2 sets R_HOME to a ridiculous value by default Kyle Andrews
2020-09-28  3:29 ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).