看板 R_Language 關於我們 聯絡資訊
[問題類型]: 經驗諮詢(我想用R 連接某些資料庫,請問大家的經驗) [軟體熟悉度]: 新手(沒寫過程式,R 是我的第一次) [問題敘述]: 剛升級成為Win10 在Rstudio中使用中文皆會變成unicode 想問這個有解決的辦法嗎? http://imgur.com/8WTsZzJ [環境敘述]: R version 3.3.2 (2016-10-31) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200) locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_3.3.2 [關鍵字]: Win 10, 亂碼 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.195.56.139 ※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1486048267.A.89C.html
Wush978: 你的locale設定怪怪的,看起來是英文耶 02/02 23:20
Wush978: 試試看 Sys.setlocale(locale = "cht") 02/02 23:21
girl5566: 感謝 已解決 一勞永逸的方式是設.Rprofile 02/02 23:23
girl5566: http://tinyurl.com/glb65j9 02/02 23:23