I would like R to return me the same "é" as when I first saved it:
someLetter <- "é"
print(someLetter)
[1] "é"
But this gave me "\303\251"
instead.
How can I get R to output me the same accented letter?
If this question has already been answered elsewhere, do comment below with a link! Thanks!
Found the answer. I simply set the following:
system("defaults write org.R-project.R force.LANG en_US.UTF-8")