From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: [BUG] [babel] R graphics header arg :units Date: Mon, 18 Jun 2012 08:48:45 +0200 Message-ID: <87obohazea.fsf@med.uni-goettingen.de> References: <871uldd738.fsf@med.uni-goettingen.de> <87r4tdbkup.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgVmi-0006rv-I9 for emacs-orgmode@gnu.org; Mon, 18 Jun 2012 02:50:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgVmg-0007z7-Tg for emacs-orgmode@gnu.org; Mon, 18 Jun 2012 02:50:00 -0400 Received: from plane.gmane.org ([80.91.229.3]:39584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgVmg-0007z2-NF for emacs-orgmode@gnu.org; Mon, 18 Jun 2012 02:49:58 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SgVmd-000255-Qv for emacs-orgmode@gnu.org; Mon, 18 Jun 2012 08:49:55 +0200 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Jun 2012 08:49:55 +0200 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Jun 2012 08:49:55 +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 Myles, > Hi Andreas, > >>> On Sun, 17 Jun 2012 22:19:39 +0200, Andreas Leha said: > > > 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 > > It seems to work if you do this :units "'cm'" :res 100, i.e.: > > #+begin_src R :results graphics :file wideplot.png :width 14 :height 7 :units "'cm'" :res 100 > plot(1:10, 1:10) > #+end_src > Thanks for this! I had only tried :units '"cm"'... Your example works fine here. Best, Andreas