Re: [R] paste workable code to R 4.0.0 cause error

2020-04-28 Thread Jinsong Zhao
On 2020/4/29 8:05, Jinsong Zhao wrote: 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

[R] paste workable code to R 4.0.0 cause error

2020-04-28 Thread Jinsong Zhao
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 2