[ESS] "foreign" languages in R and ESS

A.J. Rossini blindglobe at gmail.com
Sun Nov 20 12:28:50 CET 2005


Lots of issues with Emacs/ESS/R/UTF combinations.  I think Martin had
some knowledge?  I don't.

On 11/19/05, Paul Johnson <pauljohn at ku.edu> wrote:
> In R-2.2 supports Unicode characters. I'm not an multilingual, but I
> work with a colleague who is and we want to put some foreign symbols in
> an R picture.
>
> In Emacs I configure with the pull down menu Options/MULE and I use "Set
> Language Environment" to set UTF-8 and then the input method is selected
> there, either the default or cyrillic-ukrainian.
>
> Here is an R program that tries to use the cyrillic in the title of a plot:
>
> x <- rnorm(100)
> y <- rnorm(100)
> plot(x,y,main="руссианЎ")
>
> The Cyrillic shows in Emacs and it shows in my email program
> (thunderbird), however, when I run it through R, the plot title is in
> English, reading 'b'e'c'c'Z'Z'_
>
> Before I ask in the R list, I figured I should as here in ESS because I
> figure there's a pretty good chance that there's some slippage between
> Emacs and ESS where MULE is concerned. ?
>
> I'm running Fedora Core 4 with Emacs
> emacs-ess-5.2.10
> emacs-21.4-5
>
> My system LANG variable is
> $ env | grep LANG
> LANG=en_US.UTF-8
>
>
> --
> Paul E. Johnson                       email: pauljohn at ku.edu
> Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
> 1541 Lilac Lane, Rm 504
> University of Kansas                  Office: (785) 864-9086
> Lawrence, Kansas 66044-3177           FAX: (785) 864-5700
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>


--
best,
-tony

blindglobe at gmail.com
Muttenz, Switzerland.
"Commit early,commit often, and commit in a repository from which we can easily
roll-back your mistakes" (AJR, 4Jan05).




More information about the ESS-help mailing list