1

When I read a file into R, and the file contain characters like "ç" or "é" (latin characters) in a string, the ess-buffer shows meaninless (to me) numbers. For example, the string "ações" is displayed "a\307\325es". Do you know how to fix it?

Drew
  • 75,699
  • 9
  • 109
  • 225
Diogo
  • 308
  • 1
  • 11

1 Answers1

1

It seems file coding system was not detected properly. To open a file with a specific coding system in Emacs use:

C-x RET c coding-system RET C-x C-f filename RET

Where coding-system should be the one used by R.

Gracjan Polak
  • 1,082
  • 6
  • 21