From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 2PZHFq3TYmZAVgAAA41jLg (envelope-from ) for ; Fri, 07 Jun 2024 11:32:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cPMiEK3TYmbccwAA62LTzQ (envelope-from ) for ; Fri, 07 Jun 2024 11:32:29 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=j7EKHcHJ; 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=1717752749; 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=ZozsYlNXH8By69CRRuLtlh1LpnfG8t6ZfANkUKKMUiY=; b=vB2vrNySI66hNpZ/iyirvH+ejlF7lR1H5VVpj0migtyl91iwjxymHCfkUrIT0WrU0nfxRz gVUOjBZztU0baaExjJ/3w+xyYVwKkSVVe7B37zVig4yBOpufJpBuQZwoOFFYK0ChTOqIF0 Ehoz/zVDYWSFF1b5qEuZpyw/fG0tfQEjJLd+EECpnbmfsFHx509hhz87rN9BtclKRHNGkH 7dvMyX4XArmuL/8lwrvK2kPBmi1qwLBPEh7IRk9gG7aJUqPPUWZ1YUWKJDczzqzFFAwdSY 3EslT4BwL9HebKMjfHk3RweJNqidg0IrqAsUTPJlAhQ91orYqphY9WmXfx7mrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=j7EKHcHJ; 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=1717752749; a=rsa-sha256; cv=none; b=bor87EF2v+GqqFpT3bG4wEKCmUU7tkXKy4H2neSJ6lI1BSf1GiV2qK+gCKxIb9PCxNVucR TTsrjt+ylQ6Ey+3O7yNKH0rjSvST1AQnuXFfdutwgfw44Hov7phB674NHpramwTxXnwELA YBK3tByY0GEFZCjfwkcmTNHuiqy4IOar0t4Bak9I4mKdXIFMbKUFtW8RBaJy6FW18K0o2D Qf5u7nPoWvsR3A1xek56X1KtAM8FUiL0gAfQR0SF3s9jgqBGNVb9HKoQ+bannmzdfUn7ii 3IxZxhrMlrA632mApl/hHV26mMQ4JTTnJrzMHm9y9etsdAXBHTzyZEc5bebF7w== 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 1F34E74D4F for ; Fri, 7 Jun 2024 11:32:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFVwd-0001uE-Mb; Fri, 07 Jun 2024 05:31:35 -0400 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 1sFVwb-0001tJ-Hc for emacs-orgmode@gnu.org; Fri, 07 Jun 2024 05:31:33 -0400 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFVwZ-0007uc-Ie for emacs-orgmode@gnu.org; Fri, 07 Jun 2024 05:31:33 -0400 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2eaae2a6dc1so36368831fa.0 for ; Fri, 07 Jun 2024 02:31:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717752689; x=1718357489; 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=ZozsYlNXH8By69CRRuLtlh1LpnfG8t6ZfANkUKKMUiY=; b=j7EKHcHJkY4zlqSkFB79+qukRR5uojx8Uzz6CGGHmBkp+4fUiiUzQ+ymLIUba3ZOQf 2dPlw2nhZ2ZWFO+0Q7sw1vx1moZzyH6IQS2L2uWrnj+243npFPrKjV5t8T6HuMM7xpgP +Amsj9CT3i1q4NBCjx5XyqJFSGvi/XffpuxrwZpEG9Arp1DZSW3OY+sH1JC76q9HoXQM YpXMW0Gdu+P6Jy0XfMkdX8PkUhErSgUHCxhdkskllQZiNbi/IK3aqlAh3nhjyszbY11o AJE9SNH5JzPrin5fR+kGoM3QLoRZo4nkZxF4W4g5my+SVVubLvumK890P65hGJtu5Zkf Ug2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717752689; x=1718357489; 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=ZozsYlNXH8By69CRRuLtlh1LpnfG8t6ZfANkUKKMUiY=; b=Sk5xd21N4Xw7gKG6FF1THWpFpspIiIeTF7OPBvKi95g7ynJ8SCHuBs5yoxZ5zunEqe R5Euno+wK/9T/lKSELjjjwL0SIrVBQPj5O2rYLr209jp3pLd45GNTHkCRxoAJWn5dsB1 xZryt45qcZo/d3No7Lpf/RMqHbohmJbNQvqUYZc62Gmz5+Ie2VZvvOdrLW7kP0cvHbQU UigO+unV9wHNkghN1J8kAP+LIddLqL1zg/iwkbZeHtME/toM2Twz/EpZev59yMORqUvS aucGAq5+EtcAgXfUrdBA86py7RXeWLco9EwevyRvRauCwbDD2AosziLeuoiPts7tw+zp gLsw== X-Gm-Message-State: AOJu0YweN+DydLvslBMGJdf5nEriyQIc09FFL6fj0gMubykSwcPjYdly imrcdQzH8FwIg06UptiiKu/fX71PzfJJwoVJB36b9PiGw9bGDIu2Iph5F6AHT8mOPHZbW3mG6RQ 1Vef2E5FK3xvFzv8PoAv9gztC8Mf6uQ== X-Google-Smtp-Source: AGHT+IG5j2aCQjTYOs751qSnT+iZK0DyIRN9YMo/e4I+boKBeRmpXO1Yxa3FCfpPeicCR96j8QFlNgUEAJqDH+7KBU4= X-Received: by 2002:a05:6512:2f1:b0:52b:798f:cd7e with SMTP id 2adb3069b0e04-52bb9f62696mr1679241e87.12.1717752688771; Fri, 07 Jun 2024 02:31:28 -0700 (PDT) MIME-Version: 1.0 References: <87a5jz5j88.fsf@localhost> <87ikylgldt.fsf@localhost> In-Reply-To: <87ikylgldt.fsf@localhost> From: Giuseppe Pagnoni Date: Fri, 7 Jun 2024 11:31:16 +0200 Message-ID: Subject: Re: Output of R code block: only text or plot but not both? And only one "result" can be output? To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000d38bf1061a4976aa" Received-SPF: pass client-ip=2a00:1450:4864:20::229; envelope-from=gpagnoni@gmail.com; helo=mail-lj1-x229.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, T_SCC_BODY_TEXT_LINE=-0.01 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-Spam-Score: -8.67 X-Migadu-Queue-Id: 1F34E74D4F X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -8.67 X-TUID: LTfM1k+N9EF7 --000000000000d38bf1061a4976aa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Same... no file gets written... On Fri, Jun 7, 2024 at 11:18=E2=80=AFAM Ihor Radchenko wrote: > Giuseppe Pagnoni writes: > > > Sorry, I just sent you the reply that was meant for Berry's advice :-). > > Your suggestion also looks very useful, but somehow the png files do no= t > > get saved (in the current directory or elsewhere), and I actually do no= t > > get any error messages in the R buffer (I also tried to change the file > > type to jpeg). Any idea why? > > Hard to say. > Try to run my example in command line R repl. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --=20 Giuseppe Pagnoni Dip. Scienze Biomediche, Metaboliche e Neuroscienze Sezione Fisiologia e Neuroscienze Univ. di Modena e Reggio Emilia Via Campi 287 I-41125 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 --000000000000d38bf1061a4976aa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Same... no file gets written...

On Fri, Jun 7, 2024 at 11:1= 8=E2=80=AFAM Ihor Radchenko <yant= ar92@posteo.net> wrote:
Giuseppe Pagnoni <gpagnoni@gmail.com> writes:

> Sorry, I just sent you the reply that was meant for Berry's advice= :-).
> Your suggestion also looks very useful, but somehow the png files do n= ot
> get saved (in the current directory or elsewhere), and I actually do n= ot
> get any error messages in the R buffer (I also tried to change the fil= e
> type to jpeg).=C2=A0 Any idea why?

Hard to say.
Try to run my example in command line R repl.

--
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>


--
Gi= useppe Pagnoni
Dip. Scienze Biomediche, Metaboliche e Neuroscienze
Se= zione Fisiologia e Neuroscienze
Univ. di Modena e Reggio Emilia
Via C= ampi 287
I-41125 Modena, Italy
Tel: +39-059-205-5742
Fax: +39-059-= 205-5363

--000000000000d38bf1061a4976aa--