* lisp/ob-R.el: Fix ESS compatibility
(org-babel-R-initiate-session): Fix `require'. Do not use obsolete `R' function.
This commit is contained in:
parent
26ef5e3e5b
commit
4929f0c55f
|
@ -36,7 +36,7 @@
|
|||
(require 'ob)
|
||||
|
||||
(declare-function orgtbl-to-tsv "org-table" (table params))
|
||||
(declare-function R "ext:essd-r" (&optional start-args))
|
||||
(declare-function run-ess-r "ext:ess-r-mode" (&optional start-args))
|
||||
(declare-function inferior-ess-send-input "ext:ess-inf" ())
|
||||
(declare-function ess-make-buffer-current "ext:ess-inf" ())
|
||||
(declare-function ess-eval-buffer "ext:ess-inf" (vis))
|
||||
|
@ -276,7 +276,8 @@ This function is called by `org-babel-execute-src-block'."
|
|||
(when (get-buffer session)
|
||||
;; Session buffer exists, but with dead process
|
||||
(set-buffer session))
|
||||
(org-require-package 'ess "ESS") (R)
|
||||
(org-require-package 'ess-r-mode "ESS")
|
||||
(set-buffer (run-ess-r))
|
||||
(let ((R-proc (get-process (or ess-local-process-name
|
||||
ess-current-process-name))))
|
||||
(while (process-get R-proc 'callbacks)
|
||||
|
|
Loading…
Reference in New Issue