[ESS] Feature request -- start R automagically

Martin Maechler maechler at stat.math.ethz.ch
Fri May 23 08:45:06 CEST 2008


>>>>> "MM" == Martin Maechler <maechler at stat.math.ethz.ch>
>>>>>     on Fri, 9 May 2008 17:35:56 +0200 writes:

>>>>> "MR" == Mathieu Ribatet <mathieu.ribatet at epfl.ch>
>>>>>     on Thu, 08 May 2008 17:37:32 +0200 writes:

    MR> Dear list,
    MR> Will it be possible to add the following request.
    MR> When running emacs with a R script file (or any other source file) and 
    MR> trying to C-c C-r a region while no R process is running, you get the 
    MR> following message "Process R is not running".

    MR> I think it may be convenient if then ESS propose you to launch a new R 
    MR> process.

    MM> I agree, and I had added this feature already a few months ago
    MM> in a different context (Sweave editing) on 2007-05-03
    MM> { according to lisp/Changelog }.

    MM> I hope to find time to hack this during the prolonged Pentecoste
    MM> weekend.

and I did not have time then,
but last night.

I've commited a change to ESS' development version
which automatically starts R  if
- you are editing an S language buffer [ ess-language is "S" ]
  which should be the case for all R source files
- if your buffer has no associated ess process.

Consequently, this feature will be in ESS 5.3.8

Martin Maechler, ETH Zurich




More information about the ESS-help mailing list