安装完成pycharm后,打开界面时,右下角经常出现红色警告:
No R interpreter defined: Many R related features like completion, code checking and help won't be available. You can set an interpreter under Preferences->Languages->R
点击红色警告查看详情
两种处理方法如下:
方法1、选择安装R,然后将R的路径添加到Pycharm中:
①打开R语言官网The Comprehensive R Archive Network
②根据相应的系统进行下载
③下载完成进行安装,基本上一路点“下一步”即可完成安装
④将R的安装路径添加到pycharm中
Files->Settings->Plugins->Languages & Frameworks->R Language
⑤最后点击“OK”完成R语言的路径配置
⑥重新启动pycharm,打开界面已经不显示红色警告了,至此,问题解决
方法2、如开发过程中无需R,直接卸载R语言插件
Files->Settings->Plugins->R Language Support->Uninstall