Winston Chang

Results 285 comments of Winston Chang

It's always possible in principle that the R source code will change the locking implementation so that different bits are used, or there's a different data structure altogether. If happens,...

It's actually still possible to retrieve the functions for the active bindings, but not with `as.list.environment()`. There are currently two ways to do it: * `self$.__enclos_env__$.__active__` is a list containing...

I believe the problem has to do with the creation of the observer: ```R initialize = function(rx) { private$obs

One workaround is to create the observer so that its code is evaluated in a different environment. Then the resulting function won't capture the execution environment of `initialize()`. For example,...

I can understand the desire to have a `[` and `[

@hadley Why does `[` need to be compatible with `length()`, `names()`, `[[`, and `$`? Is there code in base R that uses `[` with these other functions?

Since you're using `portable=F`, you actually speed it up by using `mm[row,col]

@johanneswaage Great to hear!

For future reference, here's a comparison of: * Using `self` vs. `

This looks related to #166 and #168. I think that for subclasses there should be better checks that ensure that public/private/active items are not overridden by items from another category....