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.
#+BEGIN_SRC R :results output graphics :exports results :file filename.png
:width 1200 :height 700 :fonts serif
<>
#+END_SRC
Org-version: Org
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):
#+
>
> #+BEGIN_SRC R
> png(filename="filename.png",width=1200,height=700,fonts="serif")
> tryCatch({
> your plot goes here
> },
> error=function(e){
> plot(x=-1:1, y=-1:1, type='n', xlab='', ylab='', axes=FALSE)
> text(x=0, y=0, labels=e$message, co