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?
R 3.4.3; RStudio 1.1.383
Tools > Global Options > Code > Saving > "Default text encoding" [Change]
You can try this. Go in "File" menu and then "Save with encoding..."
Tools
- Options
- General
- Default text encoding:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With