NTemacs, ESS & R

Peter Malewski malewski.peter at mh-hannover.de
Thu Nov 22 13:33:14 CET 2001


On Thu, Nov 22, 2001 at 11:07:49PM +1300, Sean Richards wrote:
> Hi,
> Just started using ESS with NTemacs and R and have 2 newbie questions.
> 
> 1. This seems to be a FAQ but I have not found and answer to it.
> When I open a file with a .r extension, emacs starts up ess, but then 
> I have to M-x r to start up R-mode, is there anyway of doing this 
> automatically? I think its reasonable that if I open a .r file that I 
> want to be running R-mode.

there is a bit nomenclature-confusion. you can invoke "r-mode" to every buffer
(like, say *scratch*) by M-x r-mode. If you want to start a R subprocess every time
you open an ".r" file you have to write an extended function. 
But: Do you really want 10 r-session when you open 10 ".r" files?



> 
> 2. When I am in R-mode I get a "iESS" menu, but all the commands are
> pertaining to S, ie "Quit S", "Enter S Command". I realise that R is a
> dialect of S but does it not have its own specific command menu ? 

There is no r menu. The "s" menu is also the r menu. As you wrote.
pm




> 
> That was it, pretty mundane stuff I know. 
> 
> Sean
> -- 
> -----------------------------------------------------------------------
> ------------------ Sean Richards --- sean64 at xtra.co.nz ----------------
> -----------------------------------------------------------------------
> 
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

-- 
P.Malewski, Limmerstr.47, 30451 Hannover, 0511-2135008
At work: http://www.MH-Hannover.de 0511 532 3194 / Fax: 0511 532 3190, 
P.Malewski at tu-bs.de, peter.malewski at gmx.de, malewski.peter at mh-hannover.de.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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