解决R在jetbrains软件中出现字符集的问题
Warning in (function (file = “”, n = NULL, text = NULL, prompt = “?”, keep.source = getOption(“keep.source”),:argument encoding=“UTF-8” is ignored in MBCS locales主要原因还是字符集的问题,之前说的方法其实也还会有问题 索性就Sys.set
·
Warning in (function (file = “”, n = NULL, text = NULL, prompt = “?”, keep.source = getOption(“keep.source”), :
argument encoding=“UTF-8” is ignored in MBCS locales
主要原因还是字符集的问题,之前说的方法其实也还会有问题 索性就
Sys.setlocale(category = 'LC_ALL', locale = 'English_United States.1252')
来自:https://ask.csdn.net/questions/7474646的回答!
如果中文乱码,就设置成中文
Sys.setlocale("LC_ALL","Chinese")
但是可能继续报警告hhhhh
更多推荐
已为社区贡献1条内容
所有评论(0)