Hi there,

I have a piece of source code with some inline comments in Chinese. It works well when I copy it from a editor (gvim here), and paste it to Rgui console on R 3.6.3, however, when I do the same thing, R 4.0.0 give error message:

Error: invalid multibyte character in parser at line 21

If I source() the code from Rgui console, it can run without any error.

Any hints?

BTW, I do not make a minimal workable example yet.

Best,
Jinsong

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to