[ESS] Interact with ESS from R

Martin Maechler m@ech|er @end|ng |rom @t@t@m@th@ethz@ch
Mon Jun 1 17:42:20 CEST 2015

>>>>> Gábor Csárdi <csardi.gabor using gmail.com>
>>>>>     on Mon, 1 Jun 2015 11:05:44 -0400 writes:


    > Well, I would need to check this from the embedded R
    > process.....

    >>> In general, can I call Emacs lisp functions from the
    >>> embedded R process?
    >> Now, you got me there ;o)

    > Yeah, I was afraid that this was the case.

    > It seems that ANSI colors work out of the box now in
    > Emacs, so I might just turn them on in Emacs sessions by
    > default.

on non-Windows only ... 

There was a whole thread on ESS-help about this.

Rich Heiberger tried on R under Windows
and I think found that ANSI escapes would not work in ESS and R under Windows:

     (the above is the *end* of the thread I mention).

On the other hand, I now just tried in our old (Windows 2008 Terminal server)
and indeed,
after doing

  options(crayon.enabled = TRUE)


nicely works even in an emacs ESS  *R* buffer on Windows.



More information about the ESS-help mailing list