From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aECnADnt32BrLgEAgWs5BA (envelope-from ) for ; Sat, 03 Jul 2021 06:53:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CIT1Nzjt32BJWwAA1q6Kng (envelope-from ) for ; Sat, 03 Jul 2021 04:53:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 45514EF8E for ; Sat, 3 Jul 2021 06:53:12 +0200 (CEST) Received: from localhost ([::1]:54290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzXeQ-0007Cr-2s for larch@yhetil.org; Sat, 03 Jul 2021 00:53:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzXdr-0007CT-6g for emacs-orgmode@gnu.org; Sat, 03 Jul 2021 00:52:35 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:33420) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzXdp-0002NJ-KQ for emacs-orgmode@gnu.org; Sat, 03 Jul 2021 00:52:34 -0400 Received: by mail-pg1-x52c.google.com with SMTP id e20so12107496pgg.0 for ; Fri, 02 Jul 2021 21:52:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=wgiQC7/xFvKiUPB0klGMKh/9NftITaGhlQPbb6fqoso=; b=E9dH88WdMYLiJgjPKNX8X5EXDcCCU2MxdprRmizz0hWaYIpuPpBJssPfRESBsdG0n0 Kl8sk77ebEv8ef+BGBIFRcoNqIkiiVrd/+1COwzEZmQOI+TC0W5jyO0i1cmMImWTrT+1 jxAGAJvnIhPW4vMsywFfZ5dnHOqh9mz5iOMOiHKQ3LtuXc4hVQO9psFNMQO2HAL6tY4d iCoZvKcuoGgoqtAgf2YnWVr+QSsIileRAdPKUmH5cBgd1KS4AFANZioYc7c8PIbpWTiD yn6Byhw+C5N/f+MsThAtpnZKaoz9g8DBcrtC/ABT9T+Mct7i5z2lbD0AQKCZ8Yv26S6u SbIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=wgiQC7/xFvKiUPB0klGMKh/9NftITaGhlQPbb6fqoso=; b=g9qCaw2nnczryVlU12dzZEM/L2q5VRq3OfpFwr/kPdlkehsqFmVR/6gzZaGip3XM0L fToPumL59lQ9NKvbT8WPyHt54o6ZBe7yOseATvZX4R1Vozy+NTAAjI7DZp721KUN8/co HIE5XIpvueGgblIYXCsdKL7YOPOU9efwWsVe8DzKSGM3CIakvQRvoDoSB+5+kKsWHBRp 9WwA3bKe8KjsQDDiFxbKy0aPIgZOawfoZ5Mj76ZAMW4UbE0KV78qCKWFV0iG73+5tfeL 01NVjaCDUAuIxnQB1448FDIorOc/2/2YfmUs3f33MwfXJwhKLZpMRHZ3t4ri8imyQ7yD q18w== X-Gm-Message-State: AOAM533LpdwfnHKoM3re9FvoKIp1fLkaKHIb4Pc85vHl/r5Giy+MfFxc IEazExGlR9JLzsvV0fS/LTA= X-Google-Smtp-Source: ABdhPJxjjE3GEQQTeWdT60tsZFfVRiXOfhgblx+PTEp5s4EF1ShXXpxRyrgvV/tK7Qk31PfAi8aY9g== X-Received: by 2002:a63:ea0e:: with SMTP id c14mr3466998pgi.117.1625287951826; Fri, 02 Jul 2021 21:52:31 -0700 (PDT) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id 62sm4841477pfy.110.2021.07.02.21.52.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jul 2021 21:52:31 -0700 (PDT) References: <8735t8nqlf.fsf@gmail.com> <87pmwbty75.fsf@yandex.com> <871r8n1ban.fsf@gmail.com> <87o8bpbqp3.fsf@gmail.com> <87h7hcowmv.fsf@gmail.com> User-agent: mu4e 1.4.15; emacs 28.0.50 From: Timothy To: Jack Kamm Subject: Re: [PATCH] ob-R output file with graphics parameter In-reply-to: <87h7hcowmv.fsf@gmail.com> Message-ID: <87bl7kov78.fsf@gmail.com> Date: Sat, 03 Jul 2021 12:52:27 +0800 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=tecosaur@gmail.com; helo=mail-pg1-x52c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Colin Baxter , "Berry, Charles" , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625287992; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wgiQC7/xFvKiUPB0klGMKh/9NftITaGhlQPbb6fqoso=; b=g5Y3BTBBUmsiSMV/l2rg8wCgAP8opU567KprGplPG2ZGSr9jaaAm1BitX3fk8Azq3ZRjW9 DQgEQZzcteYx4Mn7tiTZsvHP7KiZCPKQTSZ1FZuuC4P82XrO6Kd8U3wn5aqlcs55jz8M0R GjkF6Y3jsG3wLeiZyKpYzJ7LEfGscgV/C4Yq+RT7+qJXOLTWBf0PPTj+PEzftrvYz2HFjc pPI65Sb+qQFKmFkVuZ5Gf2pvsFoXCcHvS+wL2HDHLsiUV3BbtRRtdFIFHE/1cD8lvlzNJD SkH/o/BBAKuDQ4eAmpUiH82YsZJ+Ze3WykB9E4YIPHiv8TANrenZLoTNT3+ZnQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625287992; a=rsa-sha256; cv=none; b=SYXFt7TwTav6ULmyPmHadKTMR9IjZS2bIGsAyZ7c3uXHjdrS9USNDAWv/LM4ZShnPsaSBa 3SAMITKlEkUDw29ur3Q1eFd30nDXK1PjObYV/MPnLcxRZ3ck8gAgotwu/XjxjhY1OAMneX 2mRvs/Fk/EsTOyUxX6i9VJ8lSN1QoBzAgeFM2JXvJPyyYvBnjS2gq2irc53oeGeV2k3G7y ZBy5WrJujr7Z5AArxTfYcL8ZGY6quKYDpmFrrUzaGYc83Qajj43vSYJGCJKmwaDQdbF/aT c3Vj5nH4I7p/X3D6+akQRGKUEHvs7eJ4ZcJ8yNfO5CrhZn3RcKKWO1RKsXqbbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=E9dH88Wd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=E9dH88Wd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 45514EF8E X-Spam-Score: -1.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: /QMXO5azG1lz Jack Kamm writes: > I think it would still make sense though, and would be beneficial beyond > ob-R. According to [1], the "graphics" and "link" arguments don't do > anything unless used with "file", so it would make sense for them to > automatically add the "file" argument. Mmmm, I think it would be good if we could make it so it's generally less effort to create plots. Would it be strange if running the code block with just :output graphics Automatically added "link" if *only* graphics is set, and generated a file name if no :file is set? I think it would be nice if I could declare a "figures directory" (default to "/tmp" or "."?) for exactly this. -- Timothy