From: Eric Schulte <schulte.eric@gmail.com>
To: Thomas Alexander Gerds <tag@biostat.ku.dk>
Cc: emacs-orgmode@gnu.org
Subject: Re: minor bug in babel with silent output and remote R session
Date: Wed, 13 Mar 2013 09:11:06 -0600 [thread overview]
Message-ID: <87obencp2t.fsf@gmail.com> (raw)
In-Reply-To: <grb6158v5rn3ic.fsf@linuxifsv005.sund.root.ku.dk> (Thomas Alexander Gerds's message of "Wed, 13 Mar 2013 08:49:15 +0100")
Thomas Alexander Gerds <tag@biostat.ku.dk> writes:
> Using the silent option together with a remote R session block (started
> via ssh.el and ess-remote), like this:
>
> #+BEGIN_SRC R :results silent :exports results :session *ssh gauss* :cache yes
> a=1
> 1
> #+END_SRC
>
> produces:
>
> ,----
> | > > > [1] 1
> | > Warning message:
> | In file.rename(tfile, transfer.file) :
> | cannot rename file '/tmp/RtmpQwlyCf/file7c9b78867f6c' to
> | /tmp/babel-4977UIT/R-4977ucf', reason 'No such file or directory'
> | >
> `----
>
> and emacs freezes. No big deal because C-g gets me out of it, but
> slightly annoying.
>
> with `:results output' instead of `:results: silent' everything works
> fine.
>
Are you sure this problem is related to the ":results silent" header
argument? I would expect this problem to arise *any* time results are
requested from a remove R session. This is because R and Emacs use the
file system to hand results back and forth, and when the R session
refers to a remote file system, this communication fails.
One possible solution would be to use the :dir header argument to
specify to the code block the machine on which the execution is taking
place.
Best,
>
>
> best,
> Thomas
>
--
Eric Schulte
http://cs.unm.edu/~eschulte
next prev parent reply other threads:[~2013-03-13 15:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-13 7:49 minor bug in babel with silent output and remote R session Thomas Alexander Gerds
2013-03-13 15:11 ` Eric Schulte [this message]
2013-03-13 16:29 ` Thomas Alexander Gerds
2013-04-07 7:45 ` Bastien
2013-04-07 8:42 ` Achim Gratz
2013-04-09 8:13 ` Thomas Alexander Gerds
2013-04-10 12:44 ` Bastien
2013-04-12 21:57 ` Eric Schulte
2013-04-14 9:50 ` Thomas Alexander Gerds
2013-04-14 15:23 ` Eric Schulte
2013-04-15 12:56 ` Thomas Alexander Gerds
2013-04-15 12:34 ` Andreas Leha
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=87obencp2t.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tag@biostat.ku.dk \
/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).