From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Cook, Malcolm" Subject: Re: Using tramp to run R source code blocks on remote server Date: Fri, 22 Apr 2016 18:22:02 +0000 Message-ID: <78e2b06eab034e73b020ba8d08f81504@exchsrv2.sgc.loc> References: <877ffphdn3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atfiT-0002wc-4v for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 14:22:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atfiP-0008GN-U7 for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 14:22:09 -0400 Received: from smtp02.stowers.org ([40.141.174.62]:54268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atfiP-0008GC-NY for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 14:22:05 -0400 In-Reply-To: Content-Language: en-US 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'" , 'Nick Dokos' Cc: "'emacs-orgmode@gnu.org'" > On Fri, 22 Apr 2016, Nick Dokos wrote: >=20 > > Vikas Rawal writes: > > > >> I am trying to run R source code blocks on a remote server (d= efined in > my ~/.ssh/config as > >> cesp). > >> > >> I am facing several problems. > >> > >> 1. The following sample block, when used with ":results valu= e" 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. > > >=20 >=20 > And contrary to what I said earlier this *is* related to compilation. No= t > 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 r= estart emacs. Also, when I am playing with effect of (re)compiling org, I don't compile i= t with org already loaded. I compile it in a fresh emacs. I don't trust results gained other ways. YMMV >=20 > Details: >=20 > If I run org-reload uncompiled, C-u C-c C-x !, code like >=20 > #+BEGIN_SRC R :session :dir /user@remote:/userdir > c(3,2,6) > #+END_SRC >=20 > runs fine and produces the expected result. >=20 > But reloading compiled, C-c C-x !, the code produces the >=20 > : tramp-flush-directory-property: Wrong type argument: arrayp, nil >=20 > message. >=20 > HTH, >=20 > Chuck