Prof Brian Ripley wrote:
> On Sat, 12 May 2007, Vlad Skvortsov wrote:
>
>> Hi!
>>
>> I'm running R version 2.4.1 (2006-12-18) on MacOS X 10.4; my $LANG is
>> ru_RU.KOI8-R.
>
> But we are told that all locales on MacOS X are actually UTF-8: it 
> will not matter as R knows the charset it is using.

I'm not sure what you mean here. Yes, MacOS X does support UTF-8 
natively, but actual terminal session encoding depends on your 
configuration.

[skipped]

>> From the help page:
>
>   family: the font family to be used, see 'postscript'.
>
> encoding: the name of an encoding file.  See 'postscript' for details.
>
> See also the article in R-News 2006-2 by Paul Murrell and myself with 
> worked examples.  It is likely that family="URWHelvetica", 
> encoding="KOI8-R" will work, but you may need to embed the font to 
> display on the Adobe PDF reader (but not on ones based on GhostScript).

Thanks, that helped (though didn't work right away)! Just for the 
record, I've summarized my findings here:

http://vss.73rus.com/blog/notes/cyrillic-fonts-in-R-plots


-- 
Vlad Skvortsov, [EMAIL PROTECTED], http://vss.73rus.com

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to