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 ms11 with LMTPS id M0ZjLzr6RGCVSgAA0tVLHw (envelope-from ) for ; Sun, 07 Mar 2021 16:07:22 +0000 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 YLfCKjr6RGAvHwAA1q6Kng (envelope-from ) for ; Sun, 07 Mar 2021 16:07:22 +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 DEB2A22EF9 for ; Sun, 7 Mar 2021 17:07:21 +0100 (CET) Received: from localhost ([::1]:46564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIvw9-0004qx-2F for larch@yhetil.org; Sun, 07 Mar 2021 11:07:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIvvT-0004ko-DD for emacs-orgmode@gnu.org; Sun, 07 Mar 2021 11:06:39 -0500 Received: from hiwela.pair.com ([209.68.5.201]:14801) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIvvR-0008Rd-Ib for emacs-orgmode@gnu.org; Sun, 07 Mar 2021 11:06:39 -0500 Received: from hiwela.pair.com (localhost [127.0.0.1]) by hiwela.pair.com (Postfix) with ESMTP id 2B8DA9805A7; Sun, 7 Mar 2021 11:06:36 -0500 (EST) Received: from minshall-entroware-apollo.cliq.com (unknown [88.253.115.125]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hiwela.pair.com (Postfix) with ESMTPSA id ED17E8F0957; Sun, 7 Mar 2021 11:06:35 -0500 (EST) Received: from apollo2.minshall.org (localhost [IPv6:::1]) by minshall-entroware-apollo.cliq.com (Postfix) with ESMTP id 7C5B1630CA; Sun, 7 Mar 2021 19:06:28 +0300 (+03) From: Greg Minshall To: Jeremie Juste Subject: Re: org-in-org In-reply-to: Your message of "Tue, 23 Feb 2021 22:38:06 +0100." <87lfbe79dt.fsf@gmail.com> X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1774814.1615133188.1@apollo2.minshall.org> Date: Sun, 07 Mar 2021 19:06:28 +0300 Message-ID: <1774815.1615133188@apollo2.minshall.org> Received-SPF: softfail client-ip=209.68.5.201; envelope-from=minshall@umich.edu; helo=hiwela.pair.com X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no 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@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=1615133242; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=qXugDfjHITvOY/c90AWndHFDW+xUeeoX6GuJ9ADbrjY=; b=D3JTC9lXOC++6amMaImRS8KptatB+CyYgK5vTUXVl3q5R+9rwy12lySYsD/JCPyEeJE97N Ej6fX+Cw4kGBMPVhtfuoJK/dj3ZhH/gryctGr01fADjxJy+PFTi10aREPgK6km9tj2v3AG Dg/wjCyx1oqF4zSNbJaX3brKSp1XP6iuelwX4HE7+Dnd+NzDHxV03jTpI1Xn5O0mh7E7Tz ZFmsjKivTuyJnflU8Zw+p0I1PWN/xcgOpw5Xk1Uc3mcs6e4bGl9QsdBbK+PSLf+CxsqGsA 6fekE4Haalis4AVBoDqnZ3jlxvoHPIuQJuYheY/lGxyhZYRuu12Qkz1TDOzUuw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615133242; a=rsa-sha256; cv=none; b=OxqI/X4NI1vfQIQsSutOj06Tr6yulzlFIvYm3VjR2dQ2srCgMmSusuiHDHPZiyI6/8l/km dUNKWKF8M63rh8xU09rCZcMTznhRpvtqTPa5lnGFc/8PpKT042wVpHAb9YPH4psqGLNDp6 P/CHCKUcmFJL6fo8jTHroA1pwo8jUEJOpvjbPYmju7qS7ifQlkfLHQxGK50iTmTrW1mEpA pCyFKLA/7lCzAux/XSnh7f9adNeKuZ5AtQNpeifuURIiq6iQJ2YAjr0jpWoxW8BmRoaC2T NkVF4tWEQMtHr7ylhcSCxivp2TC1TNGcna9JrQqVqqV1mrUH9aENQJPJKuQDEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -2.27 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=umich.edu (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: DEB2A22EF9 X-Spam-Score: -2.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: uMjxyUhCfotZ Jeremie, thanks for this. > A possible solution might be this one > #+NAME: readdata-code > #+BEGIN_SRC org > ,#+NAME: readdata-code > ,#+BEGIN_SRC R :results value silent > > read.data("datafile1.csv",sep=3D",",header=3DT)->mydata1 > > > ,#+END_SRC > #+END_SRC iiuc, this will embed the org-in-org block ("readdata-code") in the outer org document. and, if i open the org-in-org block, and C-c C-c to execute it, the results will likewise be available in the outer org document, and can be exported, etc. this is very useful, and is the first part of what i *think* i am hoping to find. the second part is a way, from the outer org document, or, hopefully, from an e-lisp batch file, to be able to cause the inner org document to have its code blocks executed, with the results left in place. so, that, e.g., during export of the *outer* org document, it could cause the inner org block(s) to be executed and their results revealed. > credit goes to https://raw.githubusercontent.com/vikasrawal/orgpaper/master= > /orgpapers.org fwiw, a more recent version exists: ---- https://github.com/vikasrawal/orgpaper/blob/master/orgpapers.org ---- though i haven't in depth compared the two. cheers, Greg