[ESS] Delay on left-parenthesis

Vitalie Spinu spinuvit at gmail.com
Mon Sep 17 20:55:14 CEST 2012


  >> Rodney Sparapani <rsparapa at mcw.edu>
  >> on Mon, 17 Sep 2012 12:56:59 -0500 wrote:

  > On 09/17/2012 11:07 AM, Ken Williams wrote:
  >> I'm not sure what I changed in my setup, but I'm getting two new results recently; one I like, the other not so much.
  >> 
  >> In an iESS R buffer, when I type the name of a function (usually a function in
  >> core R) and then a left parenthesis, ESS seems to go figure out what the
  >> parameters to that function are, and show them in the minibuffer.  That's
  >> handy.  But it seems to sometimes take a really long time, e.g. around half
  >> the time I type a function name, it goes away (seemingly hangs) for 10-60
  >> seconds before I can type interactively again.  

Way too long. It used to happen on heavy generics like print( and plot(,
but not more than 1-2 seconds for me. Does this happen to you for other
functions as well?

Is your R on local machine? How many packages do you have installed?

  >> It's unresponsive to a C-g or C-c C-g.
  >> 

This is weird, it should definitely help.

  >> How can I find out what's causing the delay and squash it?
  >> 

  > For me, this bug is now gone with the latest beta, i.e. ESS 12.09.

Yes, the arguments of plot and print are now pre-cached and never
requested from R. It might be useful to pre-cache some other stuff, but
I have never experienced problems with any other function.

    Vitalie



More information about the ESS-help mailing list