Calling parent constructors in R with multiple inheritance -


i'm trying have class call parent constructors, callnextmethod calls first parent. namely, if have

setclass('a') setclass('b') setclass('c', contains = c('a','b')) 

and define initialize methods three, printing 'in a', 'in b', , 'in c', respectively, callnextmethod in initialize method of c, prints 'in a'. there way dispatch constructors?

(and yes, know multiple inheritance bad; i'm trying implement notion of mixins , happens appropriate way it)


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -