From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gB2QHTWrLV8zPwAA0tVLHw (envelope-from ) for ; Fri, 07 Aug 2020 19:27:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kIpJGTWrLV+RLgAAbx9fmQ (envelope-from ) for ; Fri, 07 Aug 2020 19:27:49 +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 E53B99403E7 for ; Fri, 7 Aug 2020 19:27:48 +0000 (UTC) Received: from localhost ([::1]:49104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k481r-0002i2-3j for larch@yhetil.org; Fri, 07 Aug 2020 15:27:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k481V-0002ho-Gz for emacs-orgmode@gnu.org; Fri, 07 Aug 2020 15:27:25 -0400 Received: from shell.miskatonic.org ([54.39.142.95]:43982) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k481T-00057l-UK for emacs-orgmode@gnu.org; Fri, 07 Aug 2020 15:27:25 -0400 Received: by shell.miskatonic.org (Postfix, from userid 1000) id AB4484C00F03; Fri, 7 Aug 2020 15:27:20 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by shell.miskatonic.org (Postfix) with ESMTP id 988954C00CF9 for ; Fri, 7 Aug 2020 15:27:20 -0400 (EDT) Date: Fri, 7 Aug 2020 15:27:20 -0400 (EDT) From: William Denton X-X-Sender: wtd@shell.miskatonic.org To: emacs-orgmode@gnu.org Subject: How to refer to remote table, in another file, as a source block variable? Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII 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/08/07 15:27:20 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, URIBL_BLOCKED=0.001 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: naeWaLE10bOY 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/