Reputation: 847
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?
Upvotes: 7
Views: 34656
Reputation: 496
R 3.4.3; RStudio 1.1.383
Tools > Global Options > Code > Saving > "Default text encoding" [Change]
Upvotes: 10