Ver Fonte

org-babel-R-command is now customizable

* lisp/ob-R.el (org-babel-R-command): From a defvar to a defcustom.
Eric Schulte há 12 anos atrás
pai
commit
35caf8b35a
1 ficheiros alterados com 5 adições e 2 exclusões
  1. 5 2
      lisp/ob-R.el

+ 5 - 2
lisp/ob-R.el

@@ -70,8 +70,11 @@
 
 (defvar org-babel-default-header-args:R '())
 
-(defvar org-babel-R-command "R --slave --no-save"
-  "Name of command to use for executing R code.")
+(defcustom org-babel-R-command "R --slave --no-save"
+  "Name of command to use for executing R code."
+  :group 'org-babel
+  :version "24.1"
+  :type 'string)
 
 (defvar ess-local-process-name)
 (defun org-babel-edit-prep:R (info)