Skip to content
Prev 28108 / 63424 Next

callCC in 2.7.0

Also in trying it out again it seems that its not like
on.exit but more like return:

F <- function(f) { f(10); print(2); f(20); 3}
callCC(F)

acts the same as:

F <- function() { return(10); print(2); f(20); 3}
F()

and there is no documented way to restart F
at the point it left off so I assume it can't.

On Sun, Mar 30, 2008 at 12:34 PM, Gabor Grothendieck
<ggrothendieck at gmail.com> wrote: