1

I want to permanently set the default language of date in R to english. Now every time I start a new R session I have greek as default language even though I use:

Sys.setlocale("LC_TIME", "English")

format(Sys.Date(), format = "%Y-%b-%d")
[1] "2019-Ιουλ-29"

I found that I have to use something like:

.First <- function() {
   Sys.setlocale("LC_TIME", "English")
   }

but I cannot understand where to put this. Anybody knows the steps?

firmo23
  • 6,014
  • 1
  • 20
  • 70

0 Answers0