Starting emacs with R in ESS

Rich Heiberger rmh at surfer.sbm.temple.edu
Fri Dec 22 05:20:35 CET 2000


I think your question is:
  Can I make S start automatically every time I start emacs?
As usual, the answer is "yes".

Add the following line to your .emacs immediately after the line
(load-library "ess-site")		;;; ESS for S-mode and SAS-mode

(S)  ;;; start S

You may need to adjust the variables ess-ask-for-ess-directory and
You may need to adjust the variable ess-ask-for-ess-directory.
>From ess-site.el

;;; (3.4) ess-ask-for-ess-directory
;;; If t, will ask for the directory to use.  If nil, assumes the
;;; default (usually, the users home directory...).
(setq ess-ask-for-ess-directory t)

I think you may want to use
(setq ess-ask-for-ess-directory nil)

in which case this ess-ask-for-ess-directory line goes before (S)

Rich

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list