-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to turn off ansi code coloring of console output #395
Comments
@lionel-: I remember you are using ESS, could you please take a look? |
I don't run R code in org-mode but I think you can set |
Yes, we use crayon, and |
It's not "Emacs" that should be fixed but org-mode ;) |
Yes, in this context the Emacs side is actually orgmode. I have suggested a fix to the orgmode mailing list. Just waiting on someone there to confirm the problem and agree on my change. |
@lionel- This problem can be encountered by ESS users without orgmode in the loop. Try |
If it's not possible already, please file an issue. |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary. |
I'm using Emacs, with my R code embedded in orgmode documents. When I use the :session option for the code block, R runs it using the ESS package. ESS supports ANSI color codes, R can detect that, and the console output is colored accordingly. However, when the output is transferred back to original org document, the ansi codes are inserted as characters.
It may be possible to fix this on the Emacs side, but it would be nice to have a way to turn off the escape codes from the R side.
Here's an example file to demonstrate what I see from Emacs:
The text was updated successfully, but these errors were encountered: