Dear all, I have the following problem: I define a Referenceclass as follows
myClassObject = setRefClass('myClass', contains = c('class1', 'class2'), fields = list( reconstruction = 'ClassFromModule', ), methods = list( ) ); ClassFromModule is a C++ exposed by a Rcpp Module. I had somewhat irreproducible results with this approach. On installing I get the following error message: Error in refClassInformation(Class, contains, fields, methods, where) : class "ClassFromModule" for field 'reconstruction' is not defined I can forward define the class by inserting: setRefClass('ClassFromModule'); before the class definition. Error in envRefInferField(x, what, getClass(class(x)), selfEnv) : ‘reconstructionsAll’ is not a valid field or method name for reference class “Rcpp_ClassFromModule” This problem appeared at some moment as I have an installed version of the package that did compile. However, I have not clue (and understanding) what the expected behavior would be. Is there a recipe available? Thank you very much in advance, best, Stefan -- http://s-boehringer.org _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel