[Rd] Small mistake in ?raw

Mikko Korpela mikko.korpela at helsinki.fi
Tue Jun 7 11:41:54 CEST 2016

In ?raw (src/library/base/man/raw.Rd), the final line of Examples seems 
to be off:

> isASCII("\x9c25.63") # false (in Latin-1, this is an amount in UK pounds)

The character "\x9c" is a control character in Latin-1. Maybe the 
example should use "\xa3" instead:

 > iconv("\x9c25.63", from = "latin1")
[1] "\u009c25.63"
 > iconv("\xa325.63", from = "latin1")
[1] "£25.63"

Mikko Korpela
Department of Geosciences and Geography
University of Helsinki

More information about the R-devel mailing list