Get weekdays in English in R

后端 未结 6 1383
[愿得一人]
[愿得一人] 2020-12-07 21:03

I am using R outside the US and I got everything working in English, but the result of weekdays() is still in Spanish:

Day <- seq(as.Date(\"2         


        
6条回答
  •  长情又很酷
    2020-12-07 21:46

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

    did the trick for me. Also this don't bring us OS reports request to set locale to "EN" cannot be honored error message.

提交回复
热议问题