From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Using tramp to run R source code blocks on remote server Date: Thu, 21 Apr 2016 09:48:14 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atHm8-0005ij-Lt for emacs-orgmode@gnu.org; Thu, 21 Apr 2016 12:48:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atHm5-0003Qa-FN for emacs-orgmode@gnu.org; Thu, 21 Apr 2016 12:48:20 -0400 Received: from iport-bcv3-out.ucsd.edu ([132.239.0.89]:41542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atHm5-0003QF-69 for emacs-orgmode@gnu.org; Thu, 21 Apr 2016 12:48:17 -0400 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: Vikas Rawal Cc: org-mode mailing list On Thu, 21 Apr 2016, Vikas Rawal wrote: > 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. HTH, Chuck