idea/pycharm 使用R语言插件报错

idea/pycharm 使用R语言插件报错

运行提示报错:

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')

你可能感兴趣的:(intellij-idea,pycharm,R)