[R] charset in graphics

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jul 13 11:12:55 CEST 2007


On Fri, 13 Jul 2007, Donatas G. wrote:

> How do I make Lithuanian characters display correctly in R graphics?
>
> Instead of the special characters for Lithuanian language I get question
> marks...
>
> I use Ubuntu Feisty, the locale is utf-8 ...
>
> Do I need to specify somewhere the locale for R, or - default font for the
> graphics?

See ?X11, especially the 'Fonts' section (assuming that is the graphics 
device you are using: you did not actually say but that is the device 
most likely to be giving question marks or empty rectangles for missing 
glyphs).

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list