How to change Sys.setlocale, when you get Error “request to set locale … cannot be honored”
问题 This relates to the problem I'm trying to resolve here: Printing UTF-8 (Russian) characters in R, Rmd, knitr. I was told that this problem does not exist if native locale was en_US.UTF-8 . (My current native locale is English_Canada.1252 .) But I cannot just simply change my English_Canada.1252 to en_US.UTF-8. - When I try I get this error message: > Sys.setlocale("LC_CTYPE", "en_US.UTF-8") OS reports request to set locale to "en_US.UTF-8" cannot be honored[1] "" Any idea how to resolve it?