Hi all,

I am having troubles in using the header argument :units which is
implemented for R source blocks.  Example:

#+begin_src R :results graphics :file wideplot.png :width 14 :height 7 :units 
"cm"
  plot(1:10, 1:10)
#+end_src


This expands to

: png(filename="wideplot.png",height=7,units=cm,width=14)
: plot(1:10, 1:10)
: dev.off()

and leads -- when evaluated -- to the error

: Fehler in match.arg(units, c("in", "px", "cm", "mm")) : 
:   'arg' must be NULL or a character vector

I guess this is a bug, correct?  Otherwise, how do I correctly use
this header argument?

Regards,
Andreas


Reply via email to