From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oLZoLCNmNWAwGgAA0tVLHw (envelope-from ) for ; Tue, 23 Feb 2021 20:31:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MLo9KCNmNWDEWwAAB5/wlQ (envelope-from ) for ; Tue, 23 Feb 2021 20:31:31 +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 E9471188AF for ; Tue, 23 Feb 2021 21:31:30 +0100 (CET) Received: from localhost ([::1]:53874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEeLC-0005Aq-4C for larch@yhetil.org; Tue, 23 Feb 2021 15:31:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEeKL-0005A2-FK for emacs-orgmode@gnu.org; Tue, 23 Feb 2021 15:30:37 -0500 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:40315) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEeKG-0004eg-5j for emacs-orgmode@gnu.org; Tue, 23 Feb 2021 15:30:37 -0500 Received: by mail-lf1-x12a.google.com with SMTP id h125so13245200lfd.7 for ; Tue, 23 Feb 2021 12:30:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=p1RrM1PYqA88HA90Q69TsyUIbuKqhULxvj7TkB227YM=; b=jeilHSP5Ubp8P/Wh2vd57mn5s/Q6n451tQr99kbA3Z797GkWdnP/qzB8IYZ9G4lld1 xeWX/N/7CCDxtAGOkemVKCsiIrQf9mgF08Sn7r4f7ziIyfybWmJlXyrnc3HUUm9/YTTO Xk+POh2W3yDAAyIPWcupmdyhsqk5jmewj286yr6WryvY2q0L8Ga/nQ8X+LrvPROtNbg1 DeY4pvFYdTnOS2NKxTv7sj4AArmQjWgGw4pbE64hacmF2qQMm625TPHyBMPieiLNWEHt ARLnqknJVdElYh05bBiwpvbTUPzPQpS0Q6UNodBlhd1Qbysc/E8LHcL52meulHqmcGKt rraQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=p1RrM1PYqA88HA90Q69TsyUIbuKqhULxvj7TkB227YM=; b=sQI3/Nnku0D0gTtohidzry8uJU4FFqMQ1/LuCtAdP2uSK3fae6IxGA75c05houGDRi LEtzzRQ5mMLUqwJdp6r1xdFclYA4fFlHZsrSBuTdLt7n5PziFqmksVOezU0VmzDFbxcD hEJ50dsl11AZZyWtRjb/dWjiNRO75zTq8G3aDIifGhaadWG2J2arJ6uk9ioVZiZc6EQD qpStdqAnMQtfh4zsBSgTLevy2ITVS5JqfLlNeFpH32FPIC4Rd/46CmIL3r760rkYc7t9 mr+/fkFep6hNrIx+evzHkRDplo4AG7HiHgM0o1BQ+RS7QRxP7z2j9nY1ch7qYvgvoHae b9rg== X-Gm-Message-State: AOAM530N278sfim2cX625j6NcDAadpBpy/wNzb+7RlHXcxWlA+BkT+ww AO8HksnmF0n1u6zuzXN9on1Je7NOzSftFeDaywk= X-Google-Smtp-Source: ABdhPJwFIbxatSV3wR3JQ5e9XmUERPvMddjOr93qPjIpG0sL/ydIMgE1yDWwjxoPeq1UnVwI8ELu11IUR7f2lV/QX18= X-Received: by 2002:a05:6512:466:: with SMTP id x6mr17196517lfd.327.1614112229614; Tue, 23 Feb 2021 12:30:29 -0800 (PST) MIME-Version: 1.0 References: <819173.1614090273@apollo2.minshall.org> In-Reply-To: <819173.1614090273@apollo2.minshall.org> From: Erik Iverson Date: Tue, 23 Feb 2021 12:30:03 -0800 Message-ID: Subject: Re: org-in-org To: Greg Minshall Content-Type: multipart/alternative; boundary="00000000000012e6d505bc06ca3b" Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=erikriverson@gmail.com; helo=mail-lf1-x12a.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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=jeilHSP5; dmarc=pass (policy=none) header.from=gmail.com; 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: E9471188AF X-Spam-Score: -3.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: DjIZXQOoonuX --00000000000012e6d505bc06ca3b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Greg! I am not sure if this would be useful to your efforts, but I have an "R in org-mode" tutorial on github: https://github.com/erikriverson/org-mode-R-tutorial Apparently it is now 10 years old somehow, time flies. Best, --Erik On Tue, Feb 23, 2021 at 6:25 AM Greg Minshall wrote: > i have a question about org-in-org source blocks. i volunteered to help > in an effort to provide a tutorial of using the ESS (Emacs Speaks > Statistics) package for R, in particular, from org mode. > > i'd like to write my contribution as a .org file. i'd like to include > fragments of org code, including source blocks (in R). and, i'd like to > show various result types. so, i'd like to be able to have the > #+RESULTS show up in the org-in-org source block as exported inside the > containing .org file. > > and, i'd like to trigger all this from a makefile, using some emacs > batch script to export the containing .org file into a .html or .pdf > file. > > (i *think*) what i would like to end up with is what it would like if i > had manually opened the org-in-org source blocks (C-c=E2=80=8C'), then we= nt to > each (or, possibly, selected, i guess) source blocks inside *that* > (org-in-org) source block, and executed each, producing a #+RESULTS > block for each, then closed the org-in-org source block (C-c=E2=80=8C', a= gain), > and then exported the containing .org file. > > is this possible? any ideas? > > cheers, Greg > > --00000000000012e6d505bc06ca3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Greg!=C2=A0

I am not sure if this=C2= =A0would be useful to your efforts, but I have an "R in org-mode"= tutorial on github:


Apparently it is now 10 years = old somehow, time flies.=C2=A0

Best,
--E= rik=C2=A0



On Tue, Feb 23, 2021 at 6:25 A= M Greg Minshall <minshall@umich.ed= u> wrote:
i have a question about org-in-org source blocks.=C2=A0 i volunteered to h= elp
in an effort to provide a tutorial of using the ESS (Emacs Speaks
Statistics) package for R, in particular, from org mode.

i'd like to write my contribution as a .org file.=C2=A0 i'd like to= include
fragments of org code, including source blocks (in R).=C2=A0 and, i'd l= ike to
show various result types.=C2=A0 so, i'd like to be able to have the #+RESULTS show up in the org-in-org source block as exported inside the
containing .org file.

and, i'd like to trigger all this from a makefile, using some emacs
batch script to export the containing .org file into a .html or .pdf
file.

(i *think*) what i would like to end up with is what it would like if i
had manually opened the org-in-org source blocks (C-c=E2=80=8C'), then = went to
each (or, possibly, selected, i guess) source blocks inside *that*
(org-in-org) source block, and executed each, producing a #+RESULTS
block for each, then closed the org-in-org source block (C-c=E2=80=8C',= again),
and then exported the containing .org file.

is this possible?=C2=A0 any ideas?

cheers, Greg

--00000000000012e6d505bc06ca3b--