[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Using tramp to run R source code blocks on remote server
From: |
Cook, Malcolm |
Subject: |
Re: [O] Using tramp to run R source code blocks on remote server |
Date: |
Fri, 22 Apr 2016 18:22:02 +0000 |
> On Fri, 22 Apr 2016, Nick Dokos wrote:
>
> > Vikas Rawal <address@hidden> writes:
> >
> >> I am trying to run R source code blocks on a remote server
> >> (defined in
> my ~/.ssh/config as
> >> cesp).
> >>
> >> I am facing several problems.
> >>
> >> 1. The following sample block, when used with ":results value"
> >> does
> not give any results.
> >>
> >> #+NAME: level1
> >> #+begin_src R :results value :exports results :colnames yes
> >> :hline yes
> :session cesp :dir /cesp:
> >> /home/vikas/
> >> c(1:5)
> >> #+end_src
> >>
> >> I get the following message:
> >>
> >> tramp-flush-directory-property: Wrong type argument: arrayp, nil
> >>
> >
> > You might also want to ping Michael Albinus on the tramp mailing list about
> > this.
> >
>
>
> And contrary to what I said earlier this *is* related to compilation. Not
> sure if this is a tramp issue for ob-comint.el issue.
I do not trust org-reload. If I want a fresh org environment, I quit and
restart emacs.
Also, when I am playing with effect of (re)compiling org, I don't compile it
with org already loaded. I compile it in a fresh emacs.
I don't trust results gained other ways.
YMMV
>
> Details:
>
> If I run org-reload uncompiled, C-u C-c C-x !, code like
>
> #+BEGIN_SRC R :session :dir /address@hidden:/userdir
> c(3,2,6)
> #+END_SRC
>
> runs fine and produces the expected result.
>
> But reloading compiled, C-c C-x !, the code produces the
>
> : tramp-flush-directory-property: Wrong type argument: arrayp, nil
>
> message.
>
> HTH,
>
> Chuck
Re: [O] Using tramp to run R source code blocks on remote server, Tim Howes, 2016/04/21
[O] [PATCH] ob-comint.el bug WAS: Re: Using tramp to run R source code blocks on remote server, Charles C. Berry, 2016/04/23