[R] foreign characters in R plots

Jakub Fast jfast at friko5.onet.pl
Mon Aug 27 02:55:00 CEST 2001


Hi,

I am sorry to bother you with such a (presumably) simple question, but I
have spent a couple of hours browsing the net and R documentation and came
up with no answer to it. My problem is that I need to use Latin2 (ISO8859-2)
characters in my plots. Adding an encoding="..." parameter to the postscript
function does not solve the problem, as the characters still don't show up.
Then I tried to copy the standard X11 .afm latin2 fonts to R's font
directory. This didn't help either. I guess I would have to somehow tell R
to use those fonts (and: can I do it without actually knowing the font
family name? I only know their filenames...). Another question related to
the topic is whether it is possible to use postscript character names as
escape sequences for particular characters within a string instead of using
\xxx for ascii code?

I would be very greatful if anyone could help me.

Thanks --

Kuba Fast



-- 

OnetKomunikator - porozumiesz sie
z innymi [ http://ok.onet.pl/instaluj.html ]

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list