[問題] Abbreviated weekday name 用英文縮寫?
[問題敘述]:
strftime(ISOdate(2017,11,13), "%a")
我想要呈現"Mon", 可是跑出的卻是 "週一". 電腦環境如下(中文OS):
困擾好久, 用英文查過卻沒有, 不知如何用中文查.
[環境敘述]:
> sessionInfo()
R version 3.4.2 (2017-09-28)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Traditional)_Taiwan.950 LC_CTYPE=Chinese
(Traditional)_Taiwan.950
[3] LC_MONETARY=Chinese (Traditional)_Taiwan.950 LC_NUMERIC=C
[5] LC_TIME=Chinese (Traditional)_Taiwan.950
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] magrittr_1.5
loaded via a namespace (and not attached):
[1] compiler_3.4.2 tools_3.4.2
>
[關鍵字]:
選擇性,也許未來有用
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 58.114.4.176
※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1510583950.A.58C.html
→
11/13 22:47,
8年前
, 1F
11/13 22:47, 1F
→
11/13 23:03,
8年前
, 2F
11/13 23:03, 2F
→
11/14 00:31,
8年前
, 3F
11/14 00:31, 3F
R_Language 近期熱門文章
PTT數位生活區 即時熱門文章