|Subject:||Re: [O] org mode R remote code evaluation|
|Date:||Mon, 23 Sep 2013 11:45:38 -0500|
thanks! so the ":results output" does the trick.--On Thu, Aug 29, 2013 at 10:25 AM, Loris Bennett <address@hidden> wrote:
The following works for me:Johannes Rainer <address@hidden> writes:
> dear all,
> I have some computation intense R-code that I want to run remotely on my server,
> and, according to the org manual that should be possible with the ":dir"
> parameter. so I went on and tried the following (user/server masked):
> #+BEGIN_SRC R :dir /address@hidden:
> when I execute it I get the error:
> Tramp: Encoding region using function `base64-encode-region'...done
> Tramp: Decoding region into remote file
> byte-code: Couldn't write region to
> decode using `base64 -d -i >%s' failed
> apparently, this temp folder does not exist on the linux server, it is actually
> the temp folder from my local machine.
> I get the same error when I try to execute remote shell code, so it's not R
> I also tried to start a ssh session using "M-x ssh" and used the source block
> #+BEGIN_SRC R :exports both :session *ssh xxx*
> on the server it executes the command but it can not write the results:
>> Warning message:
> In file.rename(tfile, transfer.file) :
> cannot rename file '/tmp/RtmpsirjGl/file51c8f6ce4ec' to
> reason 'No such file or directory'
> I am using emacs 24.3 and Org-mode version 8.0.7 (release_8.0.7-384-g6fdc23)
> I would be helpful for any suggestions how I could solve this problem.
> thanks in advance
#+BEGIN_SRC R :results output :dir /address@hidden:
with Emacs 24.2.1 and 8.0.7 (8.0.7-6-g13cb28-elpaplus)
This signature is currently under construction.
Johannes Rainer, PhD
Applied Bioinformatics Group,
Division Molecular Pathophysiology,
Biocenter, Medical University Innsbruck,
Innrain 80/82 II, 6020 Innsbruck, Austria
Tyrolean Cancer Research Institute
Innrain 66, 6020 Innsbruck, Austria
Tel.: +43 (0)512 9003 70961
|[Prev in Thread]||Current Thread||[Next in Thread]|