[MVB] 
[snip]
> >
> >> makeActiveBinding( 'myAB', function( x) if( missing( x)) get( 
> >> 'myABguts', env=.GlobalEnv) else assign( 'myABguts', x, 
> .GlobalEnv), 
> >> exists( 'myAB')
> >
> > which appeared to return absolutely nothing-- not even a 
> missing or a null. The problem, of course, is that 'myABguts' 
> doesn't exist yet; what seems to happen, though,  is that the 
> failure to 'get' causes a *messageless* error inside the 
> active binding function. Is this intended?
> 

[Luke Tierney]
> What I get is this:
>      > exists( 'myAB')
>      Error in get(x, envir, mode, inherits) : variable 
> "myABguts" was not found

[MVB]
Hmmm, yes, this morning that's exactly what I get too. I was running
this on a different machine (also R2.0.1 under Windows XP) when I
repeatedly got the messageless error which prompted my question. I'll
see whether I can re-reproduce it on that system.

Thanks
Mark

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to