[R] Windows OS, R and unicode

Richard Rowe richard.rowe at jcu.edu.au
Thu Oct 4 01:41:00 CEST 2007


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



More information about the R-help mailing list