[ESS] How to tell if R is ready after ess-eval-*?

Rodney Sparapani rsparapa at mcw.edu
Thu Jul 7 20:45:03 CEST 2011


Vitalie Spinu wrote:
> Yes the first 2.5 sec you didn't notice. A better example is this:
> 
> for(i in 1:10) Sys.sleep(.5)
> cat("here\n")
> 
> versus:
> 
> for(i in 1:10)
>     Sys.sleep(.5)
> cat("here\n")
> 
> also
> 
> for(i in 1:10) Sys.sleep(.5)
> 
> works fine because i am treating the last line (or the only line) of
> the block, separately.
> 
> These  examples are pretty contrived, and in real applications
> laborious command will necessarily print something or be multi-line,
> which is happily detected.
> 
> Vitalie.
> 

Hi Vitalie:

Ok, I think I get it now.  However, I guess we need to create a
list of functions to except from the spinner.  For example,
it thinks that help.start() never ends.  Perhaps, that is really
correct, I don't know.  But, clearly, not what the user would
like to see.

-- 
Rodney Sparapani       Center for Patient Care and Outcomes Research
Sr. Biostatistician               http://www.mcw.edu/pcor
4 wheels good, 2 wheels better!   Medical College of Wisconsin (MCW)
WWLD?:  What Would Lombardi Do?   Milwaukee, WI, USA



More information about the ESS-help mailing list