consider the following example: (f = function() on.exit(f()))() # error: evaluation nested too deeply
(f = function() { on.exit(f()); stop() })() # error in f(): # error in f(): # ... some 100 lines skipped ... # error: C stack usage is too close to the limit why does not the second behave as the first, i.e., report, in one line, too deep recursion? the second seems to break the interface by reporting a condition internal to the implementation, which should not be visible to the user. vQ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.