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: Fri, 22 Apr 2016 09:17:32 -0700 Message-ID: References: <877ffphdn3.fsf@gmail.com> 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]:48749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atdm0-0007LF-Q0 for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 12:17:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atdlx-0001Y2-KF for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 12:17:40 -0400 Received: from iport-acv6-out.ucsd.edu ([132.239.0.13]:55836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atdlx-0001XO-AZ for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 12:17:37 -0400 In-Reply-To: <877ffphdn3.fsf@gmail.com> 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: Nick Dokos Cc: emacs-orgmode@gnu.org On Fri, 22 Apr 2016, Nick Dokos wrote: > Vikas Rawal 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. Details: If I run org-reload uncompiled, C-u C-c C-x !, code like #+BEGIN_SRC R :session :dir /user@remote:/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