Displaying 4 results from an estimated 4 matches for "issealedmethod".
2005 May 07
4
how to add method to .Primitive function
Hi,
I tried to write the dim method for the list class, but R doesn't seem
to dispatch to it:
> dim.list = function(x) c(length(x[[1]]), length(x))
> dim(list(1))
NULL
> dim.list(list(1))
[1] 1 1
What is the correct way of registering dim.list with .Primitive("dim")?
Thanks,
Vadim
[[alternative HTML version deleted]]
2010 Mar 08
1
confused by classes and methods.
...pr, envir, enclos)
4: source("../../studies/tca.tradeClassifyFuncs.R")
5: eval.with.vis(ei, envir)
6: eval.with.vis(expr, envir, enclos)
7: setMethod("update", signature(statistic = "statisticInfo", newData =
"numeric"), function(statistic, newData) {
8: isSealedMethod(f, signature, fdef, where = where)
9: getMethod(f, signature, optional = TRUE, where = where, fdef = fGen)
10: matchSignature(signature, f
I don't understand this any help would be appreciated.
Secondly, can anyone give any examples of where methods are used that makes
sense besides just che...
2003 Apr 16
2
R-1.7.0 is released
...est top level
environment (usually .GlobalEnv or a name space environment).
- Added name space support for packages that do not use methods.
o Formal classes and methods can be `sealed', by using the
corresponding argument to setClass or setMethod. New
functions isSealedClass() and isSealedMethod() test sealing.
o packages can now be loaded with version numbers. This allows
for multiple versions of files to be installed (and potentially
loaded). Some serious testing will be going on, but it should
have no effect unless specifically asked for.
INSTALLATION CHANGES
o TITLE file...
2003 Apr 16
2
R-1.7.0 is released
...est top level
environment (usually .GlobalEnv or a name space environment).
- Added name space support for packages that do not use methods.
o Formal classes and methods can be `sealed', by using the
corresponding argument to setClass or setMethod. New
functions isSealedClass() and isSealedMethod() test sealing.
o packages can now be loaded with version numbers. This allows
for multiple versions of files to be installed (and potentially
loaded). Some serious testing will be going on, but it should
have no effect unless specifically asked for.
INSTALLATION CHANGES
o TITLE file...