[ESS] ESS on Mac slower than R.app?

Deepayan Sarkar deepayan.sarkar at gmail.com
Wed May 19 15:45:14 CEST 2010


On Tue, May 18, 2010 at 7:13 PM, Rodney Sparapani <rsparapa at mcw.edu> wrote:
> On 05/16/10 06:59 AM, Markus Triska wrote:
>>
>> Hi Rodney,
>>
>> I think ess-eval-visibly-p should remain true by default, as it is quite
>> useful. If you change the accept-process-output call in
>> ess-eval-linewise to:
>>
>>     (accept-process-output sprocess 0 timeout-ms)
>>
>> (the difference being that you explicitly state to wait for input from
>> "sprocess"), the test case works instantly also with ess-eval-visibly-p.
>>
>> All the best,
>> Markus
>>
>
> Hi Markus:
>
> This does help.  I have an example that takes 9s with ess-eval-visibly-p set
> to t without your change; and with your change it
> is 4s.  However, with ess-eval-visibly-p set to nil it is
> practically instantaneous; this example is only 30 lines and
> requires no computation whatsoever, so 4s is still too much.
> So, there must still be a bug somewhere, but this fix definitely helps.
>  Checked in; will appear in ESS 5.9 RSN.

This is definitely an improvement, and at least to me the speed now
feels at par with the pre-Emacs 22 days.

I have been unhappy with this bug for a long time now, so many thanks
for the fix.

-Deepayan



More information about the ESS-help mailing list