search for: somefoo

Displaying 1 result from an estimated 1 matches for "somefoo".

2011 Jun 29
1
Ref Classes: bug with using '.self' within initialize methods?
...o do some specialized *R* computation, that computation should use a separate *R* function that is called from the reference method") The same problem occurs when, say 'someInitFoo()' calls yet another Ref Class method (as is the case in the example below with a call to '.self$someFoo()'). Is this a desired behavior? Thanks for any clarifying comments! Janko ##### CODE EXAMPLE ##### # CLASSES setRefClass( Class="MyVirtual", contains=c("VIRTUAL"), methods=list( initialize=function(...){ callSuper(...) r...