Closed yihui closed 13 years ago
The first problem is not a bug, at least as designed. The event handler is passed NULL when the number of columns changes. We can discuss this again, but it's already been discussed at length. The second problem was a bug in the coercion to data frame in the zero column case. It's fixed. Thanks.
I'm OK with NULL. Thanks!
Then what about this error?
y = mutaframe(data.frame(a=1))
add_listener(y, function(i, j) print(as.data.frame(y)))
y$b = 5 # error
That example works for me with a version of plumbr I just reinstalled from git.
OK, it works now
I think this might be a bug, but I do not know how to fix it: