Displaying 2 results from an estimated 2 matches for "dotmethod".
Did you mean:
do_method
2008 Dec 22
2
... (dotMethods) and cbind/rbind: how to give the signature?
Dear List,
I'm struggling with the signature writing cbind/rbind functions for a S4
class.
First of all, I'm very happy that it is now possible to dispatch on ...
I follow the example for "paste" in ?dotMethods, which works as far as this:
### start example
setClass ("cbtest",
representation = representation (data = "data.frame"),
prototype = prototype (data = data.frame (spc = I (matrix (rnorm
(15) , 3, 5)))
)
)
a <- new ("cbtest")
a...
2012 Sep 12
1
methods cbind2 bind_activation disrupts cbind everywhere
The methods package ?cbind2 includes the instruction to use via
methods:::bind_activation(TRUE). This changes the default definition of
cbind globally, disrupting proper evaluation in packages not using
cbind2. Is cbind2 a hold-over from a time when ... could not be used for
dispatch? What is a safe way for a package to use cbind2?
This came up in the context of complex package dependencies