[ESS] Fwd: ess-timeout

Martin Maechler maechler at stat.math.ethz.ch
Tue Apr 4 15:37:25 CEST 2006


>>>>> "RMH" == Richard M Heiberger <rmh at temple.edu>
>>>>>     on Tue, 4 Apr 2006 08:52:18 -0400 writes:

    RMH> I would handle that situation in R, not in emacs.  I
    RMH> suggest you make a .RData consisting of the objects
    RMH> that you load.  Then attach that directory.  It will be
    RMH> very fast.

    RMH> open R run your .First close R and save the image
    >> From emacs dired, move the .RData somewhere else, say
    >> myfunctions/.RData
    RMH> Start R with a new .First containing the line
    RMH> attach("myfunctions/.RData")

I agree with Rich that this will help you save time much better.

However, to still answer your original question,
add something like

(add-hook
 'inferior-ess-mode-hook
 '(lambda()
    (message "inferior-ess-mode-hook: Increasing ess-loop-timeout..")
    (setq ess-loop-timeout (* 2 ess-loop-timeout))))

to your ~/.emacs.  
Replace '2' above by the appropriate factor you'd like.

Martin


    RMH> ---- Original message ----
    >> Date: Tue, 4 Apr 2006 14:41:11 +0200 From: Meinhard
    >> Ploner <meinhardploner at gmx.net> Subject: [ESS]
    >>  ess-timeout

    >> Another question: when I start R into emacs .First()
    >> loads a huge amount of objects, which is my
    >> intention. But this process gives me always the warning :
    >> Timeout waiting for prompt. Check inferior-ess- prompt or
    >> ess-loop-timeout.
    >> 
    >> Is there some remedy for that?

    RMH> ______________________________________________
    RMH> ESS-help at stat.math.ethz.ch mailing list
    RMH> https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-help mailing list