From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: [BUG] [babel] R graphics header arg :units Date: Sun, 17 Jun 2012 22:19:39 +0200 Message-ID: <871uldd738.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgLy3-0007SE-Rj for emacs-orgmode@gnu.org; Sun, 17 Jun 2012 16:21:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgLy2-0006gf-8v for emacs-orgmode@gnu.org; Sun, 17 Jun 2012 16:21:03 -0400 Received: from plane.gmane.org ([80.91.229.3]:45653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgLy1-0006gP-TC for emacs-orgmode@gnu.org; Sun, 17 Jun 2012 16:21:02 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SgLxq-0000pT-09 for emacs-orgmode@gnu.org; Sun, 17 Jun 2012 22:20:50 +0200 Received: from vpn-2019.gwdg.de ([134.76.2.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jun 2012 22:20:49 +0200 Received: from andreas.leha by vpn-2019.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jun 2012 22:20:49 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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