[Top][All Lists]

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

Re: [O] org-babel source code :fonts serif not working

From: Charles C. Berry
Subject: Re: [O] org-babel source code :fonts serif not working
Date: Thu, 26 Mar 2015 11:15:23 -0700
User-agent: Alpine 2.00 (OSX 1167 2008-08-23)

On Thu, 26 Mar 2015, Vikas Rawal wrote:

The following code does not produce image with serif fonts for me. It used to work earlier but it seems the behaviour has changed. Could anyone confirm.

AFAICS, it does not work in R.

FWIW, the code that Babel sends to R is (after some formatting):

  <<<< your plot goes here >>>>
plot(x=-1:1, y=-1:1, type='n', xlab='', ylab='', axes=FALSE)
               text(x=0, y=0, labels=e$message, col='red')
               paste('ERROR', e$message, sep=' : ')})

If you can get that or something like to work in R, report back here.

Otherwise take this to one of the R lists.

Also, I note that the filename "filename.png" seems troublesome even apart from the font issue. I do not have time to run down why that might be.


#+BEGIN_SRC R :results output graphics :exports results :file filename.png 
:width 1200 :height 700 :fonts serif
<<R code here to produce a graph>>

reply via email to

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