Function: org-babel-R-associate-session

org-babel-R-associate-session is a byte-compiled function defined in ob-R.el.gz.

Signature

(org-babel-R-associate-session SESSION)

Documentation

Associate R code buffer with an R session.

Make SESSION be the inferior ESS process associated with the current code buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-R.el.gz
(defun org-babel-R-associate-session (session)
  "Associate R code buffer with an R session.
Make SESSION be the inferior ESS process associated with the
current code buffer."
  (setq ess-local-process-name
	(process-name (get-buffer-process session)))
  (ess-make-buffer-current))