[ESS] Feature request -- start R automagically

Vincent Goulet vincent.goulet at act.ulaval.ca
Sat May 24 17:15:15 CEST 2008


Le sam. 24 mai à 04:53, Martin Maechler a écrit :

> Salut Vincent, (et al)
>>>>>> "VG" == Vincent Goulet <vincent.goulet at act.ulaval.ca>
>>>>>>    on Fri, 23 May 2008 09:03:41 -0400 writes:
>
>    VG> Hi Martin, Le ven. 23 mai à 02:45, Martin Maechler a
>    VG> écrit :
>
>>>>>>>> "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, Will it be possible to add the following
>    MR> request.  When running emacs with a R script file (or
>    MR> any other source
>>> file) and
>    MR> trying to C-c C-r a region while no R process is
>    MR> 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
>    MM> months ago in a different context (Sweave editing) on
>    MM> 2007-05-03 { 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.
>
>    VG> Shouldn't it be "if there is no *running* ess process" ?
>
> well, that's yet another feature request !  :-)
> which makes sense, but is not yet implemented.

Well, this is how I interpreted the original request. ;-)

This is how I understood your change mentioned above: ESS will spawn a  
new S process as soon as we try to execute code in an S buffer that is  
not already associated with an ess process --- regardless if there is  
an ess process already running. If I'm correct, I'm not sure I like  
this feature.

Thanks for your work on this.

Vincent

>
>
> I'll see if I can implement it "quickly".
> Martin
>
>    VG> Vincent
>
>>>
>>>
>>> Consequently, this feature will be in ESS 5.3.8
>>>
>>> Martin Maechler, ETH Zurich
>>>
>>> ______________________________________________
>>> ESS-help at stat.math.ethz.ch mailing list
>>> https://stat.ethz.ch/mailman/listinfo/ess-help
>
>    VG> ______________________________________________
>    VG> ESS-help at stat.math.ethz.ch mailing list
>    VG> https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-help mailing list