[R] Windows OS, R and unicode
Greg Snow
Greg.Snow at intermountainmail.org
Thu Oct 4 20:56:32 CEST 2007
An alternative is to use the my.symbols function from the TeachingDemos package (improvements are welcome).
-----Original Message-----
From: "Richard Rowe" <richard.rowe at jcu.edu.au>
To: "R-help at r-project.org" <R-help at r-project.org>
Sent: 10/3/07 5:42 PM
Subject: [R] Windows OS, R and unicode
I'm trying to use the biological female and male signs in R2.5.1 under
Windows XP. I can access and insert these symbols using word-processors.
In general these should be available as \u2640 and \u2642 but I can't
make them happen in R using (say) text(5,5, "\u2640") message "invalid
\uxxxx sequence"
I've replaced Arial with Arial unicode MS in Rdevga and I've tried
various setlocale options with no success (the Murrell/Ripley examples
(Rnews 6/2) do work of course ... so I feel I should be able to do this
myself, but after several hours it is time to ask for help).
I understand from Google results that users on Mac OS and Linux aren't
facing this problem ...
Richard
--
Dr Richard Rowe
Zoology & Tropical Ecology
School of Marine & Tropical Biology
James Cook University
Townsville 4811
AUSTRALIA
ph +61 7 47 81 4851
fax +61 7 47 25 1570
JCU has CRICOS Provider Code 00117J
______________________________________________
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