RStudio中文乱码

解决办法一:

  1、设置RStudio文本显示的默认编码:RStudio菜单栏的Tools -> Global Options

  2、code-->saving-->default text coding-->change-->UTF

 方法二:

 file-->reopen with encoding 再选择utf-8

转自:https://jingyan.baidu.com/article/86f4a73ec38d8a37d6526904.html

唯有热爱方能抵御岁月漫长。
原文地址:https://www.cnblogs.com/syq816/p/15042741.html