From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uNnWIx/yhWfeeAEAqHPOHw:P1 (envelope-from ) for ; Tue, 14 Jan 2025 05:11:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id uNnWIx/yhWfeeAEAqHPOHw (envelope-from ) for ; Tue, 14 Jan 2025 06:11:59 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=glrrlWQt; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736831519; 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=11k4dNp9Cf3CVAbEz+oqoXaffZ7O32DgDFBrYDnsb6s=; b=q+g0GmlOqvpNWsrvA8FM33GRMzAXIeGvXFULEpMrePtUkLJGGmFi8v4jo7cUKRd7ps8eRd cmkgVPEwwZS2k6+Eio5N3wcm9JRLjLLT2r4MEz4roTGEdt3OTy+z7omiGz2sgYJdFzYpGt +ajVTyFBYG/xBVMB/DyKu2h/YVfu29HwEu74XJKChL+Z5aI0S8tjo1hPIF3i1LwY4y9rtd CMsvNmFbjj39yJKRwUhgZM1mGpI0MldP4yXKHV6IkPqhR9ShAAJhGxH4GNZAefemSyzEie 3n+GnfVpJakf1sxFRjkOBdILxCuUjmq2ybTysJIrIw6enC1Kl1F1Z07R0EHHwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=glrrlWQt; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736831519; a=rsa-sha256; cv=none; b=PlaL3wSLXQ8fGTkwyJTf4qMCk2YaIUYADE+y/FDPwr5tD0bvxkdWyoIUVpsobMkX3VQ8B6 A7imM6hgIYXjrDYA7RDyQw+WStCpFbbCR86iuCiz2sVDz1XHb3xrSZ8xAIJ5ChR0vi6/WV houDnVCzN17qo/n+Hm0RTvZcqhrWUknHDkanZJIGM/sQPZvR7iiUBgJRE/RX3xP7VplNFG /wrj8QmwGAJI5G91u4TFk6gO9+6PkntUG0lwbcvlvEpaIWg/ZIx8CtAK2+K522PeAAvTGC Oi/vumulTC6bZRa8v0RjhHiEX5rNeSYTeB1jlnK86NLH0a0owLP9kDb/OMPHWg== 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 3BADDA533E for ; Tue, 14 Jan 2025 06:11:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tXZCi-0005cs-0q; Tue, 14 Jan 2025 00:11:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tXZCg-0005cf-Di for emacs-orgmode@gnu.org; Tue, 14 Jan 2025 00:11:02 -0500 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tXZCe-00047I-De for emacs-orgmode@gnu.org; Tue, 14 Jan 2025 00:11:02 -0500 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-30616d71bb0so20850381fa.3 for ; Mon, 13 Jan 2025 21:10:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736831457; x=1737436257; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=11k4dNp9Cf3CVAbEz+oqoXaffZ7O32DgDFBrYDnsb6s=; b=glrrlWQt1LymKpCounuFvC8ygTNGzQEBiumoEXFfvN3chzj5zFhjBIMDnKY64o2ggI hgnGWwxKpo2RxxpmCv+6WxR7ZuiqZu0fydzYvW2bVsG51OPN1BH4PMjoj1uLkyl9IYWj t3P4h7NdC5B5ZGVzQiAn1R5gWucYjuqlpksIcmC6LRcGOtKJDdEP2jI2hU72Nx5a1cP1 Clx8OqVMN/iqN2pJMOklwjDuYncTykCHIG2aOXSeMN5MjSGDq4KI3HD9WAANtEYoofa0 HdtTN+u6jhPQOKAOc3uiRggmZp/nostcdFKrduUP65Ht/bjvH3468svubwQ+CL3w6Syf dwLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736831457; x=1737436257; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=11k4dNp9Cf3CVAbEz+oqoXaffZ7O32DgDFBrYDnsb6s=; b=K25983DKm6o6HhPBYRplauPQsiL/Wc5f6GX1y3DMqVQYYEcRro1sVJw5XsUsYA95IO NevDLLxO8IQwrAX71XsOXaPvlbRz4cbeQITBuf5VWMpP+sc5SjjDictGDsaZxaPTOfQx lfOASO9QfW8ZGO0JDONlWUvxSiZpErc8htD105VEEOvJcnPqdieeuNspt866R+qHIc/w of8k4FKz2o10lqLxhJsGSl0wpXrC3CSp0/PXDbAFviiD+uOOMAWAiL7fuQOnpStDtgfl GyXTvbuMdBHdbbViq/cj8s0bvVidj3lUKL7Vx3MAp/OzUz0LletgIgsN5+SuzZHEqA/I J9Aw== X-Forwarded-Encrypted: i=1; AJvYcCXd1g904fAj7nFl9CvjC95QqRA3BiexUTEsnFRIpt9QURhcNz+hcobUBqtXI43Av/KcQlKxd15ktfk5QHNg@gnu.org X-Gm-Message-State: AOJu0Ywid4rTG6BSFt3F9G7rf40wXrZ3Sa+h+Y1MLvliRpKeeCbmPeBE wCHnDV0DmwpSXWj7j5uR48BrDTiwdeyNMX4wIJtIQSabXbV1SYREMSmkZBBhKACKr76Dj3qxJgQ RVlEI1TXusJejJ0tmsgUXJ7JYt/v7n79tlQ== X-Gm-Gg: ASbGncsWOZKGbWiQz9RY5VHrtHxOknY41FcJB3Sl7xJ7BEajy/0E9QrpiMZtb4zRQ/m HGSaJ4pall5JVcLmkrrN/+3N8S+dSHhM3eRFz X-Google-Smtp-Source: AGHT+IG6cltuunoOa/BqF+gg1gDozYhk8FLUFFx1VOOOHLXCc+jctFj/sPdhPhXxkZZ4ekQ2iUv4oNjueYMZs3NGpbQ= X-Received: by 2002:a05:6512:33ca:b0:540:1fd9:b634 with SMTP id 2adb3069b0e04-542845d5689mr7455735e87.34.1736831456252; Mon, 13 Jan 2025 21:10:56 -0800 (PST) MIME-Version: 1.0 References: <16Z2_l6WnvrrYSQE7LC5XJQB3dO0DNAREBe7F4yE_DuNVOpHzqwELJ08ditlBSgFv_nnI3FSwi0JYCLEpd9CMqViJHxHiR3XbGeqDf4DM7Y=@crawf.uk> <87jzibkfc4.fsf@localhost> <871q4izpr4.fsf@localhost> <87y15ajb36.fsf@localhost> In-Reply-To: <87y15ajb36.fsf@localhost> From: stardiviner Date: Tue, 14 Jan 2025 13:10:29 +0800 X-Gm-Features: AbW1kvZt3qn2sOXuHrpEFNDL3PNrTerPZY4njuAxYufOVnCUzPqFiDCYECqR_4Y Message-ID: Subject: The ob-R :results graphics file :dir "images" :file "plot.png" specified directory not working To: Ihor Radchenko Cc: Sam Crawford , Org-mode Content-Type: multipart/alternative; boundary="000000000000fc19cf062ba39576" Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=numbchild@gmail.com; helo=mail-lj1-x236.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, HTML_MESSAGE=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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.52 X-Spam-Score: -8.52 X-Migadu-Queue-Id: 3BADDA533E X-Migadu-Scanner: mx10.migadu.com X-TUID: L8mr556UHlut --000000000000fc19cf062ba39576 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable This seems not working, I have following example: In Org mode file "~/Org/Programming/R/test.org" #+begin_src R :results graphics file :dir "images" :file "hist_rnorm.png" x <- rnorm(100) print(mean(x)) hist(x) #+end_src #+RESULTS[(2025-01-14 11:19:59) 2387108d2b01bf63b1eac4044a7430ea7ba87466]: [[file:images/hist_rnorm.png]] The generated plot image "images/hist_rnorm.png" is NOT in "~/Org/Programming/R/images/hist_rnorm.png". It's in "~/Org/hist_rnorm.png"= . My environment: - Emacs version: GNU Emacs 31.0.50 (commit nil) - Org mode version: 9.8-pre (using branch "main" latest commit "c2d57df0e") [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Tue, Aug 6, 2024 at 4:42=E2=80=AFPM Ihor Radchenko = wrote: > Ihor Radchenko writes: > > > I'd like to hear from ob-R/ob-julia users whether the current behavior > > is something they rely on. If not, I'd prefer to follow the conventions > > we introduce in the manual and suppress the ESS's directory prompt. > > The responses expressed no objections to the change. > So, ob-R and ob-julia now obey the working directory conventions common > for the rest of babel backends - use default-directory or :dir; no > queries. > > Closed. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D62b88d6= 13e > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > > --000000000000fc19cf062ba39576 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This seems not working, I have follo= wing example:

In Org mode file "~/Org/Programming/R/test.org"

#+begin_src R :results graphics = file :dir "images" :file "hist_rnorm.png"
x <- rn= orm(100)
print(mean(x))
hist(x)
#+end_src

#+RESULTS[(2025-0= 1-14 11:19:59) 2387108d2b01bf63b1eac4044a7430ea7ba87466]:
[[file:images/= hist_rnorm.png]]

The generated plot image "images/hist_rnorm.pn= g" is NOT in
"~/Org/Programming/R/images/hist_rnorm.png".= It's in "~/Org/hist_rnorm.png".

My environment:
- = Emacs version: GNU Emacs 31.0.50 (commit nil)
- Org mode version: 9.8-pr= e (using branch "main" latest commit "c2d57df0e")

[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Hack this world!>=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 GPG key ID: 47C32433
IRC(freeenode): stardiviner =C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitter:=C2=A0 @numbchild
Key fingerprint= =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.g= ithub.io/


On= Tue, Aug 6, 2024 at 4:42=E2=80=AFPM Ihor Radchenko <yantar92@posteo.net> wrote:
Ihor Radchenko <yantar92@posteo.net> writes:=

> I'd like to hear from ob-R/ob-julia users whether the current beha= vior
> is something they rely on. If not, I'd prefer to follow the conven= tions
> we introduce in the manual and suppress the ESS's directory prompt= .

The responses expressed no objections to the change.
So, ob-R and ob-julia now obey the working directory conventions common
for the rest of babel backends - use default-directory or :dir; no
queries.

Closed.
https://git.savannah.gn= u.org/cgit/emacs/org-mode.git/commit/?id=3D62b88d613e

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>

--000000000000fc19cf062ba39576--