From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: Using tramp to run R source code blocks on remote server Date: Fri, 22 Apr 2016 08:56:26 +0530 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_FFE1E8DD-CA59-43AF-B848-2753105DFE5F" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atRjq-0007pj-B3 for emacs-orgmode@gnu.org; Thu, 21 Apr 2016 23:26:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atRjn-0002uI-2j for emacs-orgmode@gnu.org; Thu, 21 Apr 2016 23:26:38 -0400 Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]:36376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atRjm-0002tp-NC for emacs-orgmode@gnu.org; Thu, 21 Apr 2016 23:26:35 -0400 Received: by mail-pf0-x22a.google.com with SMTP id e128so36375010pfe.3 for ; Thu, 21 Apr 2016 20:26:34 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Charles C. Berry" Cc: org-mode mailing list --Apple-Mail=_FFE1E8DD-CA59-43AF-B848-2753105DFE5F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii >=20 >> I am trying to run R source code blocks on a remote server (defined = in my ~/.ssh/config as cesp). >>=20 >> I am facing several problems. >>=20 >> 1. The following sample block, when used with ":results value" does = not give any results. >>=20 >> #+NAME: level1 >> #+begin_src R :results value :exports results :colnames yes :hline = yes :session cesp :dir /cesp:/home/vikas/ >> c(1:5) >> #+end_src >>=20 >> I get the following message: >>=20 >> tramp-flush-directory-property: Wrong type argument: arrayp, nil >>=20 >=20 > I think this is an issue with having different version of ESS on your = local and remote systems. >=20 > 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. >=20 > In any case, I'd suggest asking on ess-help@r-project.org = for help in fixing this. >=20 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 --Apple-Mail=_FFE1E8DD-CA59-43AF-B848-2753105DFE5F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

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



= --Apple-Mail=_FFE1E8DD-CA59-43AF-B848-2753105DFE5F--