emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <eric.schulte@gmx.com>
To: Johannes Meisig <j.meisig@biologie.hu-berlin.de>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87ipdyfk61.fsf@gmx.com> (raw)
In-Reply-To: <4FF95E4D.9030302@biologie.hu-berlin.de> (Johannes Meisig's message of "Sun, 08 Jul 2012 12:17:49 +0200")

Johannes Meisig <j.meisig@biologie.hu-berlin.de> 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

  reply	other threads:[~2012-07-08 13:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-08 10:17 using variables defined by org mode table in R leads to invalid function error on remote host Johannes Meisig
2012-07-08 13:37 ` Eric Schulte [this message]
2012-07-08 19:29   ` Johannes Meisig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ipdyfk61.fsf@gmx.com \
    --to=eric.schulte@gmx.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=j.meisig@biologie.hu-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).