From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graham Smith Subject: Re: [babel] changing size of R graphics in pdf output Date: Sun, 13 Dec 2009 13:39:11 +0000 Message-ID: <2c75873c0912130539v2ab18e40m32ed76c17e9ba813@mail.gmail.com> References: <2c75873c0912121440w1452f36fjdb41a01cef811354@mail.gmail.com> <87tyvv1wb6.fsf@stats.ox.ac.uk> <2c75873c0912122337l5d6c7625r74effca7bd8b0d88@mail.gmail.com> <2c75873c0912130023m2cee2f1ao534c8525f7fa1eb0@mail.gmail.com> <2c75873c0912130512w1c90b709q97c964086f3e8870@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NJofN-000245-2R for emacs-orgmode@gnu.org; Sun, 13 Dec 2009 08:39:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NJofI-000221-W6 for emacs-orgmode@gnu.org; Sun, 13 Dec 2009 08:39:16 -0500 Received: from [199.232.76.173] (port=56182 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJofI-00021y-QL for emacs-orgmode@gnu.org; Sun, 13 Dec 2009 08:39:12 -0500 Received: from mail-fx0-f213.google.com ([209.85.220.213]:41847) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NJofI-0003tg-Ms for emacs-orgmode@gnu.org; Sun, 13 Dec 2009 08:39:12 -0500 Received: by fxm5 with SMTP id 5so2425360fxm.8 for ; Sun, 13 Dec 2009 05:39:11 -0800 (PST) In-Reply-To: <2c75873c0912130512w1c90b709q97c964086f3e8870@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org This works #+srcname:Boxplots Summary #+begin_src R :session BirdData :file BoxplotSummary.pdf :exports none boxplot(Wingcrd,Tarsus,Head,Wt,names=c("Wingcrd","Tarsus","Head","Wt")) #+end_src #+resname: Boxplots #+CAPTION: Trial boxplots with babel #+LABEL: fig:trial boxplots #+ATTR_LaTeX: width=10cm [[file:BoxplotSummary.pdf]] However, it needs :exports none I actually want the code to still be present, but if I use :exports code I get the both boxplots again :-( I assume this is becasue the graphics are treated differently from numerical code output. Graham