如何在 RStudio 中更改 .R 文件的字符编码? [英] How to change the character encoding of .R file in RStudio?

查看:31
本文介绍了如何在 RStudio 中更改 .R 文件的字符编码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想把所有的.R文件都保存为一种编码,每次打开文件都不方便切换编码,那么,如何在RStudio中更改.R文件的字符编码?

I want to save all .R file in one type of encoding, it is inconvenient to switch encodings everytimes I open a file, so, how to change the character encoding of .R file in RStudio?

推荐答案

你可以试试这个.进入文件"菜单,然后使用编码保存..."

You can try this. Go in "File" menu and then "Save with encoding..."

这篇关于如何在 RStudio 中更改 .R 文件的字符编码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆