Re: [R] displaying Cyrillic in RGui under Windows

From: Roger Levy <rlevy_at_inf.ed.ac.uk>
Date: Wed 08 Feb 2006 - 05:03:43 EST

Prof Brian Ripley wrote:
> On Tue, 7 Feb 2006, Roger Levy wrote:
>

>> I have a data frame with Cyrillic text that I would like to be able to
>> view under RGui.  Unfortunately I can't figure out from the manuals how
>> to make this happen -- can someone point me in the right direction?

>
> You can only do this if you run RGui in a Cyrillic locale.
> Unfortunately there are several incompatible Cyrillic encodings, so
> let's hope this is the Windows one. If so, set Windows to Russian as
> per the rw-FAQ, select LANGUAGE=en and it should work.

Thanks, I understand better now. Apparently the only usable encoding is Windows-1251, which R switches to upon the command Sys.setlocale(,"russian"). After converting my data files to that encoding and switching the Windows locale, everything works great.

Many thanks.

Roger



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 Received on Wed Feb 08 05:34:11 2006

This archive was generated by hypermail 2.1.8 : Wed 08 Feb 2006 - 23:29:34 EST