On Monday 29 June 2009, Romain Francois wrote: > I'm attaching a patch that prints this instead: > > ls.str() > > xx : <active binding> > > Although a better behaviour would be to show the binding function.
I can see your point, but note that active bindings are not necessarily slow, and a special treatment may not be desirable in all use cases. For instance in RKWard, we use active bindings to detect, when objects are modified. To do so, we move *al* objects from .GlobalEnv to a hidden storage environment, and place corresponding active bindings in .GlobalEnv, instead. So, in our case, we'd clearly like for active bindings to behave just like regular objects, as much as possible. Regards Thomas
signature.asc
Description: This is a digitally signed message part.
______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel