作者girl5566 (5566520)
看板R_Language
标题[问题] Win10 Rstudio 中文乱码
时间Thu Feb 2 23:11:05 2017
[问题类型]:
经验谘询(我想用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://webptt.com/cn.aspx?n=bbs/R_Language/M.1486048267.A.89C.html
1F:推 Wush978: 你的locale设定怪怪的,看起来是英文耶 02/02 23:20
2F:→ Wush978: 试试看 Sys.setlocale(locale = "cht") 02/02 23:21
3F:→ girl5566: 感谢 已解决 一劳永逸的方式是设.Rprofile 02/02 23:23