[Rd] delay() has been deprecated for 2.1.0

Mark.Bravington at csiro.au Mark.Bravington at csiro.au
Tue Mar 15 00:04:40 CET 2005


[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



More information about the R-devel mailing list