R中时间的中文和英文

R中,时间的的中文和英文可以用以下设置来转化:

设置为中文:

Sys.setlocale(“LC_TIME”, “Chinese”)

设置为英文:

Sys.setlocale(“LC_TIME”, “English”)

Leave a Reply

Your email address will not be published. Required fields are marked *