i installed r 3.2.2 on laptop(mac air), , original language chinese.
i use system("defaults write org.r-project.r force.lang en_us.utf-8") change language english.
then, language on r app(gui) has changed. in terminal r, language still remain chinese.
i use language = en, language change.
after shutting down terminal, r on terminal still remain chinese.
were there met similar problem?
i know old question, else searching solution, need edit ".bash_profile" file, hidden file in user directory. (see https://stackoverflow.com/a/36808124/4338841 if you're having trouble locating/opening file. need create file if doesn't exist.)
then, add following line .bash_profile file:
export lc_all=en_us
save.
that's it! close , reopen terminal, run r , default language should in english.
Comments
Post a Comment