From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: org-babel-R export parameters Date: Mon, 07 Jun 2010 12:44:43 -0700 Message-ID: <87eigilj9w.fsf@gmail.com> References: <20100606225802.GC13859@thinkpad.adamsinfoserv.com> <87k4qbyc5p.fsf@stats.ox.ac.uk> <20100607080434.GD13859@thinkpad.adamsinfoserv.com> <871vcjp631.fsf@stats.ox.ac.uk> <20100607103100.GE13859@thinkpad.adamsinfoserv.com> <4C0D3D20.7020304@ccbr.umn.edu> <20100607185119.GG13859@thinkpad.adamsinfoserv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=54237 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLiFc-000846-Nz for emacs-orgmode@gnu.org; Mon, 07 Jun 2010 15:44:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLiFb-0003Lc-Hr for emacs-orgmode@gnu.org; Mon, 07 Jun 2010 15:44:48 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:56204) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLiFb-0003LW-DR for emacs-orgmode@gnu.org; Mon, 07 Jun 2010 15:44:47 -0400 Received: by pwi6 with SMTP id 6so3595086pwi.0 for ; Mon, 07 Jun 2010 12:44:46 -0700 (PDT) In-Reply-To: <20100607185119.GG13859@thinkpad.adamsinfoserv.com> (Russell Adams's message of "Mon, 7 Jun 2010 13:51:19 -0500") 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 Hi Russel, Russell Adams writes: [...] > > So my current issue is that it appears that even though I set :export > none, the png is still included in my Latex output. > > Suggestions? > The png is still included your output because the link to the png is part of your org-mode buffer. > > #+results: > [[file:MyFile.png]] > Currently org-babel isn't bold enough to remove existing results during export. The :exports none argument simply means that babel will not run the source-code block on export. I personally find this useful because it allows me to use code blocks to generate results, and then when I'm content with the file I can set ":exports none" to avoid re-generating the file on every export -- while retaining the existing link keeps the file included in my export. I do see how this could be confusing, and maybe it would be appropriate to begin stripping out the results of code blocks on export. Best -- Eric