RE: [Rd] delay() has been deprecated for 2.1.0

From: <Mark.Bravington_at_csiro.au>
Date: Mon 14 Mar 2005 - 23:04:40 GMT


[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 Received on Tue Mar 15 10:08:19 2005

This archive was generated by hypermail 2.1.8 : Mon 24 Oct 2005 - 22:26:29 GMT