[R] ess settings
Jin Shusong
jinss at hkusua.hku.hk
Mon Aug 9 09:41:52 CEST 2004
Dear R users,
I downloaded an ess-5.2.2 package and hope to use emacs as
front to work with R. I modified ~/.emacs and start R by
M-x R. But I found when I quited the R session, it still asked me to
save the work space or not. I added inferior-R-args with
"--save" args. But it seemed that it had no effect. Can
you tell me how to pass the arguments other than
--no-readline to R. Thanks a lot.
Below is the part for ess settings.
(setq load-path (cons "~/.emacs.d/lisp/ess-5.2.2/lisp" load-path))
(require 'ess-site)
(setq ess-default-style "GNU")
(setq inferior-ess-program "R")
(setq inferior-R-program-name "~/.local/bin/R") ; unix systems
(setq inferior-R-args "--save --no-readline")
(setq ess-pre-run-hook
'((lambda () (setq ess-directory "~/study/R/")
(setq ess-ask-for-ess-directory nil)
)))
--
Yours Sincerely
Jin
More information about the R-help
mailing list