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


I think this is an issue with having different version of ESS on your local and remote systems.

In particular, newer and older versions of `.ess.eval' have different arguments. You can check this by running `args(.ess.eval)' in the session of your remote server and in a session on your local system.

In any case, I'd suggest asking on ess-help@r-project.org for help in fixing this.



Thanks for this. I did not think that ess on the remote system would be needed at all. I just want emacs+ess on my system to use R on the remote system.

Having to maintain version compatibility between every machine, and across multiple users, is an impossible situation.

But let me see what folks at ess-help have to say.

Thanks very much,

Vikas