1

When I use non-standard letters, the Rstudio view function tends to use a different encoding than print. If you run the following code you will see the difference. I've tried setting all possible encodings, but View keeps displaying them wrongly. Any solutions?

x <- data.frame(test=c('a','b','c','d','é'))
View(x)
print(x)

I will upload an image as soon as I have more reputation.

takje
  • 2,630
  • 28
  • 47
  • Encoding is a bitsue in R. See if http://stackoverflow.com/questions/19900668/r-wrong-encoding-in-rstudio-console-but-ok-in-r-gui-and-ggplot2 helps. – Roman Luštrik Jul 16 '15 at 10:23
  • What version of RStudio are you using? The latest release, 0.99, has a revamped viewer that pays more attention to character encodings. – Jonathan Jul 16 '15 at 22:58
  • Ok, took me a while, but finally installed the newest version and that seems to solve the problem. – takje Jul 23 '15 at 09:06

1 Answers1

0

This issue is solved in the newest version of Rstudio (1.0.136).

takje
  • 2,630
  • 28
  • 47