[R] OO code organization

2012-08-07 Thread Michael Meyer
Greetings,   I found the mistake. As this may be useful to others the details are as follows:   In the source file derived_j/derived_j.R of every derived class the source of the base source("..base/base.R") was included (as you would in C or C++). This file contains the statement setGener

[R] OO code organization

2012-08-06 Thread Michael Meyer
Greetings,   I am using S4 classes and the code is organized by putting each class into a separate source file in a separate folder:   In Folder base/base.R:defines class "base" and does   setGeneric("showSelf", function(this) standardGeneric("showSelf") ) setMethod("showSelf", signature(t