Re: [R] return from nested function?

From: Seth Falcon <sfalcon_at_fhcrc.org>
Date: Thu 03 Mar 2005 - 02:14:09 EST

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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Mar 03 03:07:41 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:39 EST