I use Emacs ESS for doing some work in R. But somehow the help messages or content which is output of R process, is not printed correctly, most likely because of some encoding issue. (Screenshot included below) enter image description here

But if I do the same using the R console, it works fine as seen below: enter image description here

Any advise how to fix the encoding issue in Emacs ESS.

  • It looks like the font Emacs is using doesn't have all the symbols R is trying to print. What version of Emacs, and what operating system are you using? The first thing I'd try is M-x menu-set-font. If you can find the same font that your terminal uses that might fix things. – Tyler Jun 25 '18 at 13:40
  • I am using Emacs 25.2.2 on Ubuntu 17.10. When I tried M-x menu-set-font, I am getting a message Window System Frame should be used. I am not sure whether that is a problem. – Sandesh Jun 25 '18 at 14:31

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.