Displaying 1 result from an estimated 1 matches for "somefoorefinn".
Did you mean:
somefoorefinner
2011 Jun 29
1
Ref Classes: bug with using '.self' within initialize methods?
...lds=flds
)
}
)
)
GENERATOR <- setRefClass(
Class="MyClass",
contains=c("MyVirtual"),
fields=list(
A="character",
B="numeric"
),
methods=list(
someFoo=function(...){
someFooRefInner(.self=.self, ...)
}
)
)
# /
# GENERICS
setGeneric(name="someInitFooRefInner",
def=function(.self, ...) standardGeneric("someInitFooRefInner"),
signature=c(".self")
)
setGeneric(name="someFooRefInner",
def=function(.self, ...) s...