emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [Babel][R] Non-ascii characters in R plots


From: Christian Moe
Subject: [O] [Babel][R] Non-ascii characters in R plots
Date: Sun, 19 Aug 2012 16:36:12 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

Hi,

When I the following example source block in Org I get a plot in which the non-ascii characters are replaced by double dots (namely, the degree sign in `degrees C' and the `Å' in `År', Norwegian for `Year').

#+begin_src R :results graphics :file ~/Desktop/testplot-with-Babel.png :width 480 :height 360
  temp <- c(15, 17, 16, 19, 17, 18)
  year <- c(2000:2005)
  plot(year, temp, xlab="År", ylab="°C")
#+end_src

It seems to be a Babel problem, since, R is working fine; the special characters are preserved when I run the same script from the R command line.

Compare the attached testplot-with-Babel.png and testplot.png.

I'm running up-to-date Org on GNU Emacs 24.1 compiled for Mac OS 10.6.8. My .emacs sets current-language-environment to "UTF-8".

Is this a bug, or is there a setting I should know about?

Yours,
Christian

Attachment: testplot.png
Description: PNG image

Attachment: testplot-with-Babel.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]