in StatET eclipse as well as in RStudio I set
options(encoding = "ISO-8859-1")
in StatET I have:
Sys.getlocale()
[1] "LC_COLLATE=German_Germany.1252;LC_CTYPE=German_Germany.1252;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=German_Germany.1252"
in RStudio the same:
Sys.getlocale()
[1] "LC_COLLATE=German_Germany.1252;LC_CTYPE=German_Germany.1252;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=German_Germany.1252"
all on the same computer running at the same time, but with the same input (in both cases entered in to the console directly), I get different results.
RStudio:
strsplit("GRÜN", "")
[[1]]
[1] "G" "R" "Ü" "N"
StatET:
strsplit("GRÜN", "")
[[1]]
[1] "G" "R" "Ã" " "N"
Question: What else do I need to do besides setting Sys.setlocale()
and encoding
to make the two systems produce the same result?