简体   繁体   中英

How to change output of weekdays from Hebrew to English

I want to extract weekday using the weekdays function.

我在控制台中得到什么

But unfortunately I get my results in Hebrew.

How can I change this?

I prefer to change it to English. If this is not possible, I would prefer to convert them to numbers.

You should change your locale to the desired language/region.

For example changing it to English can be done with:

Sys.setlocale(category = "LC_ALL", locale = "English_United States.1252")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM