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 gPspKILnX1+PUwAA0tVLHw (envelope-from ) for ; Mon, 14 Sep 2020 21:58:26 +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 qLaIIoLnX18XeQAA1q6Kng (envelope-from ) for ; Mon, 14 Sep 2020 21:58:26 +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 2441D9404D3 for ; Mon, 14 Sep 2020 21:58:26 +0000 (UTC) Received: from localhost ([::1]:57498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHwUS-0007Pj-0l for larch@yhetil.org; Mon, 14 Sep 2020 17:58:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHwTx-0007Pb-PX for emacs-orgmode@gnu.org; Mon, 14 Sep 2020 17:57:53 -0400 Received: from shell.miskatonic.org ([54.39.142.95]:40276) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHwTw-0007ea-3O for emacs-orgmode@gnu.org; Mon, 14 Sep 2020 17:57:53 -0400 Received: by shell.miskatonic.org (Postfix, from userid 1000) id B15314C00EFD; Mon, 14 Sep 2020 17:57:48 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by shell.miskatonic.org (Postfix) with ESMTP id ABFA04C00CFA for ; Mon, 14 Sep 2020 17:57:48 -0400 (EDT) Date: Mon, 14 Sep 2020 17:57:48 -0400 (EDT) From: William Denton X-X-Sender: wtd@shell.miskatonic.org To: emacs-orgmode@gnu.org Subject: Re: How to refer to remote table, in another file, as a source block variable? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Received-SPF: neutral client-ip=54.39.142.95; envelope-from=wtd@pobox.com; helo=shell.miskatonic.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/14 17:57:48 X-ACL-Warn: Detected OS = Linux 3.1-3.10 X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=pobox.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-Spam-Score: 0.09 X-TUID: MG5s2a+GK0gb My apologies for sending this around a second time, but I still haven't got it so I thought I'd try again. If it's possible to refer to a remote table in another file, I've love to know how. Bill On 7 August 2020, William Denton wrote: > I can't figure this one out. Let's say I have a table in an Org file, like > so: > > # ----- > > * Primes > > #+NAME: test_table > | number | prime | > |--------+-------| > | two | yes | > | three | yes | > | four | no | > > # ----- > > In another file, I want to bring this table into a source block as a > variable. If it was the same file, I'd say ":var t=test_table" and that's > that. But what's the syntax for a different file? I can't figure it out > from the docs [1] and none of my attempts with quotes, file:, etc. work. > It's something like this, isn't it? But what? > > #+begin_src R :var t=(remote(table.org::*Primes)) > t > #+end_src > > Thanks, > > Bill > > [1] https://orgmode.org/manual/References.html#References > -- > William Denton :: Toronto, Canada --- Listening to Art: > https://listeningtoart.org/ > https://www.miskatonic.org/ --- GHG.EARTH: https://ghg.earth/ > Caveat lector. --- STAPLR: https://staplr.org/ > -- William Denton :: Toronto, Canada --- Listening to Art: https://listeningtoart.org/ https://www.miskatonic.org/ --- GHG.EARTH: https://ghg.earth/ Caveat lector. --- STAPLR: https://staplr.org/