Dear Jin, First, we have a mailing list for ESS questions; this is probably more relevant than r-help for these questions.
https://stat.ethz.ch/mailman/listinfo/ess-help Just last week this came up, and although the ESS documentation suggests setting inferior-R-args, it doesn't seem to be used. I will look into solutions for this. IN the meantime, there is a temporary workaround mentioned in the mailing lists; see thread starting https://stat.ethz.ch/pipermail/ess-help/2004-August/002031.html Best wishes, Stephen Jin Shusong writes: > 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 > > ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
