Assigning Arabic text to R variables

你离开我真会死。 提交于 2019-12-04 05:50:50

This works:

Sys.setlocale("LC_ALL", "en_US.UTF-8")

Just wanted to point out that I'm not having this problem (Arabic characters are displayed correctly without any change to locale), even though I am not in a UTF-8 locale. Not sure what to make of this, so if someone else does please enlighten us.

I'm using RStudio 0.98.1091 and my sessionInfo is as follows :

> sessionInfo()
R version 3.1.2 (2014-10-31)
Platform: i386-w64-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252    LC_MONETARY=French_France.1252
[4] LC_NUMERIC=C                   LC_TIME=French_France.1252    
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!