From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tyler Smith" Subject: Re: Bug: R src blocks fail to produce link to graphics file [9.3 org-plus-contrib-20200127] Date: Mon, 27 Jan 2020 12:52:42 -0500 Message-ID: <38d7ec9f-7e36-4b82-b1cf-03701b66eb1f@www.fastmail.com> References: <38232967-8656-40be-89de-30a7fd180838@www.fastmail.com> <874kwgg64g.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54038) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iw8aL-0000Qb-BD for emacs-orgmode@gnu.org; Mon, 27 Jan 2020 12:54:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iw8aK-0000CY-8F for emacs-orgmode@gnu.org; Mon, 27 Jan 2020 12:54:05 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:41151) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iw8aJ-0000BR-VX for emacs-orgmode@gnu.org; Mon, 27 Jan 2020 12:54:04 -0500 In-Reply-To: <874kwgg64g.fsf@gmail.com> 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Jack Kamm , Emacs Org-Mode Help On Mon, Jan 27, 2020, at 12:29 PM, Jack Kamm wrote: > > It should now be ":results graphics file". This behavior changed in Org > 9.3, see https://orgmode.org/Changes.html (:file header argument no > longer assume "file" :results). > That fixes it, thanks! The documentation for ob-R is now incorrect: https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.html Is the rationale explained anywhere? After a bit of poking around, it looks like using the `:file` flag without a `file` argument to results doesn't do anything (no file is created), nor does the reverse. That is, unless you use both the `file` argument and the `:file` option, nothing happens. Is there a situation where you can use `:file` to do something that doesn't require a `file` argument to `:results`? Best, Tyler -- plantarum.ca