[R] Unicode

Duncan Murdoch murdoch at stats.uwo.ca
Thu Jan 29 20:24:40 CET 2009


On 1/29/2009 1:57 PM, R Heberto Ghezzo, Dr wrote:
> Hello, can somebody explain me why the following program does not work?

It works for me, though \u2A8A and \u222C display as boxes, something 
like the way they do in Firefox if I look at this page:

http://unicode.coeurlumiere.com/?n=8192

(but I don't see the embedded hex code.)

> Which pages of Unicode are implemented?

Whatever your system and the graphic driver supports.  R isn't doing 
this by itself, it's asking the underlying system to do it.

Duncan Murdoch

> the u22xx and 2Axx are math symbols and extensions
> Thanks
> Heberto Ghezzo
> Montreal
> 
>  plot(1)
>  text(1.0,1.2,"a \u2A8A b \u222C c \u5222 d", cex=2)
>  text(1.0,1.1," \u222C ", cex=2)
>  text(1.0,1.0,"b \u222C c", cex=2)
>  text(1.2,1.0,"c \u5222 d", cex=2)
>  text(0.8,0.9,"a \u2A8A b", cex=2)
> 
> ______________________________________________
> R-help at r-project.org mailing list
> 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.




More information about the R-help mailing list