From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Vikas Rawal <vikaslists@agrarianresearch.org>
Cc: Nick Dokos <ndokos@gmail.com>,
org-mode mailing list <emacs-orgmode@gnu.org>
Subject: [PATCH] ob-comint.el bug WAS: Re: Using tramp to run R source code blocks on remote server
Date: Fri, 22 Apr 2016 21:15:38 -0700 [thread overview]
Message-ID: <alpine.OSX.2.20.1604222107180.1414@charles-berrys-macbook.local> (raw)
In-Reply-To: <B2E1406F-B121-4581-ADA3-278FD0DB70A5@agrarianresearch.org>
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
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
>
This was a near trivial byte-compiler issue.
`tramp-flush-directory-property' is in tramp-cache.el not tramp.el.
I'll push it tomorrow.
Chuck
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 1171 bytes --]
From b108391e0ba56e0a272aae1d1fb2eed4f1c4a03c Mon Sep 17 00:00:00 2001
From: Charles Berry <ccberry@ucsd.edu>
Date: Fri, 22 Apr 2016 21:04:16 -0700
Subject: [PATCH] ob-comint.el: Fix byte-compiler/declare-function bug
* ob-comint.el: (tramp-flush-directory-property declaration): The
file is now "tramp-cache".
Bug reported by
From: Vikas Rawal
Subject: Using tramp to run R source code blocks on remote server
Archived-At: <http://permalink.gmane.org/gmane.emacs.orgmode/106557>
---
lisp/ob-comint.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ob-comint.el b/lisp/ob-comint.el
index a5a7888..833d492 100644
--- a/lisp/ob-comint.el
+++ b/lisp/ob-comint.el
@@ -35,7 +35,7 @@
(require 'comint)
(eval-when-compile (require 'cl))
(declare-function with-parsed-tramp-file-name "tramp" (filename var &rest body))
-(declare-function tramp-flush-directory-property "tramp" (vec directory))
+(declare-function tramp-flush-directory-property "tramp-cache" (vec directory))
(defun org-babel-comint-buffer-livep (buffer)
"Check if BUFFER is a comint buffer with a live process."
--
2.6.4 (Apple Git-63)
next prev parent reply other threads:[~2016-04-23 4:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-21 10:53 Using tramp to run R source code blocks on remote server Vikas Rawal
2016-04-21 16:48 ` Charles C. Berry
2016-04-21 21:29 ` Charles C. Berry
2016-04-21 22:04 ` Charles C. Berry
2016-04-21 22:20 ` Cook, Malcolm
2016-04-22 3:26 ` Vikas Rawal
2016-04-22 15:22 ` Nick Dokos
2016-04-22 16:17 ` Charles C. Berry
2016-04-22 18:22 ` Cook, Malcolm
2016-04-21 23:33 ` Tim Howes
2016-04-23 4:15 ` Charles C. Berry [this message]
2016-05-10 4:04 ` Benda Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.OSX.2.20.1604222107180.1414@charles-berrys-macbook.local \
--to=ccberry@ucsd.edu \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
--cc=vikaslists@agrarianresearch.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.