[Rd] embeded R application on Windows prints broken character.

Randy Lai randy.cs.lai at gmail.com
Fri Apr 27 01:25:14 CEST 2018

The issue was reported to me for https://github.com/randy3k/rtichoke/issues/50
which is a python program which embeds R and provides a interface to R.

With R 3.5, for reason which i don't understand, when I typed `"a"` in the console
STDOUT got `"\x02\xff\xfea\x03\xff\xfe"` with the extra escaped characters.

I notice that `\x02\xff\xfe` and `\x03\xff\xfe` are encoding related byte marks.
A clear solution is to filter the escaped characters, but I want to understand what
changes are causing it happens. It didn’t happen for R 3.4.


	[[alternative HTML version deleted]]

More information about the R-devel mailing list