On Mar 2, 2005, at 4:13 AM, Jan T. Kim wrote:
I may be dumb today, but doesn't that beg the question of how does g cause f not to return?
No, I think my post doesn't really help you. In the context of a recursive function, the code I posted provides a way to jump out of the recursion which is a cousin of what you are looking for.
I wonder if try or tryCatch might be what you want?
cheers,
+ seth
______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
