For completeness, and without any time yet to dig into Lionel's nord
modification, and as a friend who saw thread asked: what I ended up doing was
following the hint about cli and NO_COLOR and now (conditionally) set
## No color from cli inside emacs
##
https://cli.r-lib.org/reference/faq.html#how-do-i-turn-off-ansi-colors-and-styles-
if (Sys.getenv("INSIDE_EMACS") != "")
Sys.setenv(NO_COLOR="TRUE")
That preserves cli behavior on the command-line etc but now prevents it from
turning my R buffer under ESS in Emacs unreadable should I encounter an
error. And that is good enough for now.
Thanks again, Dirk
--
dirk.eddelbuettel.com | @eddelbuettel | [email protected]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help