Cannot assign a a variable with its name being Chinese characters
Opened this issue · 0 comments
zuoyouheng commented
If I try this in Radian:
一个 <- 1
there would be an error, and the message is
Error: unexpected symbol in "\u"
This both occured in vscode-R and cmd. But the code above worked fine in basic R terminal (Rterm.exe).
The LANG of system env is
"en_US.UTF-8",
and locale is
"LC_COLLATE=Chinese (Simplified)_China.936;LC_CTYPE=Chinese (Simplified)_China.936;LC_MONETARY=Chinese (Simplified)_China.936;LC_NUMERIC=C;LC_TIME=Chinese (Simplified)_China.936"