Re: [R] substituting an object not found

From: Seth Falcon <sfalcon_at_fhcrc.org>
Date: Sat 28 Jan 2006 - 01:54:17 EST

On 27 Jan 2006, mi2kelgrum@yahoo.com wrote:

> Is there any function in R like
>
> is.not.found(x, y)
>
> meaning if you can't find object x, then use object
> y??

Along with exists(), you might find mget() useful since it allows you to specify an ifnotfound value.

--
+ 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 Sat Jan 28 02:25:51 2006

This archive was generated by hypermail 2.1.8 : Sat 28 Jan 2006 - 08:46:18 EST