From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Meisig Subject: Re: using variables defined by org mode table in R leads to invalid function error on remote host Date: Sun, 08 Jul 2012 21:29:10 +0200 Message-ID: <4FF9DF86.10503@biologie.hu-berlin.de> References: <4FF95E4D.9030302@biologie.hu-berlin.de> <87ipdyfk61.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SnxAR-0004hD-4e for emacs-orgmode@gnu.org; Sun, 08 Jul 2012 15:29:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SnxAP-000518-68 for emacs-orgmode@gnu.org; Sun, 08 Jul 2012 15:29:14 -0400 Received: from ir1.cms.hu-berlin.de ([141.20.1.146]:26765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SnxAO-00050z-VO for emacs-orgmode@gnu.org; Sun, 08 Jul 2012 15:29:13 -0400 In-Reply-To: <87ipdyfk61.fsf@gmx.com> 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: emacs-orgmode@gnu.org Hi Eric, No, (require 'tramp) doesn't solve the problem. However, commenting out (declare-function with-parsed-tramp-file-name "tramp" (filename var &rest body)) in ob.el does the job. However, this can hardly be the solution (Also, it doesn't get rid of the error message in the minibuffer). Johannes On 07/08/2012 03:37 PM, Eric Schulte wrote: > 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 >>