[ESS] emacs freezing on computationally intensive commands

Henning Redestig redestig at mpimp-golm.mpg.de
Tue Apr 19 17:18:02 CEST 2005


Hi,

When I in my R-buffer call a function that takes long time to finish my 
Emacs freezes up until that command is finished. I thought that was 
natural until I realized that if the first thing that the R function 
does is outputting something to my R-buffer say: cat("Starting 
function\n") then this causes Emacs to wake up again, being usable while 
the R process finishes off in the background.

Is there are a way to achieve the same thing except the silly approach 
of putting such a line in the top of all functions?

I use Emacs 21.3.1, ESS 5.2.5, R-2.0.1 on Fedora

Cheers for any help on this..

/Henning




More information about the ESS-help mailing list