Change language of console

How can I change the language in the R studio console?I work in Poland and I would at least like messages to appear in English, but they appear in Polish.

1 Like

R uses the system locale but you can override it in your R session with Sys.setlocale(), see this example:

plot(x)
#> Error in plot(x): objeto 'x' no encontrado
Sys.setlocale("LC_MESSAGES","en_US.UTF-8")
#> [1] "en_US.UTF-8"
plot(x)
#> Error in plot(x): object 'x' not found

Created on 2021-03-09 by the reprex package (v1.0.0.9002)

1 Like

I try to put English but not change nothing.

What to put depends on what operating system you are and obviously you would need to have the language installed in your system first.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.