radian icon indicating copy to clipboard operation
radian copied to clipboard

Cannot assign a a variable with its name being Chinese characters

Open zuoyouheng opened this issue 2 years ago • 0 comments

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"

zuoyouheng avatar Dec 12 '23 09:12 zuoyouheng