title: How to change the character encoding of .R file in RStudio?
body: <p>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?</p>