From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: using variables defined by org mode table in R leads to invalid function error on remote host Date: Sun, 08 Jul 2012 07:37:42 -0600 Message-ID: <87ipdyfk61.fsf@gmx.com> References: <4FF95E4D.9030302@biologie.hu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Snrgt-00031P-Gv for emacs-orgmode@gnu.org; Sun, 08 Jul 2012 09:38:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Snrgr-0000z3-Ec for emacs-orgmode@gnu.org; Sun, 08 Jul 2012 09:38:23 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:55013) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Snrgr-0000ys-7E for emacs-orgmode@gnu.org; Sun, 08 Jul 2012 09:38:21 -0400 In-Reply-To: <4FF95E4D.9030302@biologie.hu-berlin.de> (Johannes Meisig's message of "Sun, 08 Jul 2012 12:17:49 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Johannes Meisig Cc: emacs-orgmode@gnu.org Johannes Meisig writes: > Hi, > > adding to this question: > > http://lists.gnu.org/archive/html/emacs-orgmode/2012-06/msg00677.html > > I have the following problem. If I define a table in an .org file and > then try to use it in R as a variable, it's no problem on the local > host. However, remotely I get the error: > > Invalid function: with-parsed-tramp-file-name > On my system that function is provided by tramp.el, so maybe adding (require 'tramp) to your .emacs will solve this problem. Best, > > The following code lines are sort of a minmal example for the >behavior: > (leave the first line away for local execution) > > #+PROPERTY: dir /foo@bar://home/user > > #+TBLNAME: genes > | names | > |--------------------| > | ENSMUSG00000000031 | > | ENSMUSG00000063856 | > | ENSMUSG00000006056 | > > > #+BEGIN_SRC R :session :var genes=genes > print(genes[,1]) > #+END_SRC > > Any ideas? Thanks a lot, > > Johannes > -- Eric Schulte http://cs.unm.edu/~eschulte