[ESS] crayon package with ESS?

Kevin Wright kw.stat at gmail.com
Thu Sep 14 01:50:54 CEST 2017


Has anyone successfully used the R package "crayon" for colored text inside
Emacs?  The package claims to work with ESS:
https://cran.r-project.org/web/packages/crayon/index.html

Digging deeper, I find this inside my iESS buffer:

crayon::has_color() # returns FALSE

Which seems to be caused by this code in the has_color function:

isatty(stdout()) # returns FALSE. Why not TRUE?

Maybe my inferior terminal settings aren't quite right... Or maybe the
problem is with Windows...

-- 
Kevin Wright

	[[alternative HTML version deleted]]



More information about the ESS-help mailing list