[Rd] Byte Order Mark in ?connections

Yihui Xie xie at yihui.name
Tue Jul 22 22:40:11 CEST 2014


Hi,

There seems to be a couple of typos in the documentation of
connections about the Byte Order Mark, e.g. 0xFFFE should be 0xFEFF,
and c(0xef, 0xbb, 0xff) should be c(0xef, 0xbb, 0xbf).
https://github.com/wch/r-source/blob/4c15a67b/src/library/base/man/connections.Rd#L366-L383

> charToRaw('\UFEFF')
[1] ef bb bf

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Web: http://yihui.name



More information about the R-devel mailing list