stop a script and resume it

Rich Heiberger rmh at surfer.sbm.temple.edu
Sun Mar 17 17:52:44 CET 2002


I assume you are running S-Plus in iESS mode and that when you say
you are "running a script" you mean executing the S statement
   source("myfile.s")

I don't believe you can interrupt the source() command and then restart it.
This is an S-Plus limitation, not an ESS limitation.

The way to accomplish the task is to edit the file myfile.s and add
a browser() command at critical points, possibly conditionally on the
value of some variable, possibly at the beginning or end of each iteration
of a loop.  See the S-Plus documentation on the browser().

Rich

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list