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

Rodney Sparapani rsparapa at mcw.edu
Tue May 18 15:43:59 CEST 2010


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.

Rodney



More information about the ESS-help mailing list