Starting emacs with R in ESS
andy_liaw at merck.com
Fri Dec 22 16:15:23 CET 2000
Thanks a lot for the reply. However, this isn't quite what I want. This,
in effect, starts S every time I run emacs. However, I don't always use S
when I start emacs (I do edit other files in emacs). What I want is: every
time I run R/S, run it under ESS. Is this possible?
Thanks again, and happy holidays!
> From: Rich Heiberger[SMTP:rmh at surfer.sbm.temple.edu]
> Sent: Thursday, December 21, 2000 11:20 PM
> To: 'ess-help at stat.math.ethz.ch'; Liaw, Andy
> Subject: Re: Starting emacs with R in ESS
> 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)
> 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
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