[R] Instances of a C++ class in R

soeren.vogel at uzh.ch soeren.vogel at uzh.ch
Wed Apr 27 11:59:31 CEST 2011


We are working on a class in C++. The files compile fine (R CMD SHLIB ...) and run in R. A bzipped tar archive with source code can be downloaded from here:


In R, dyn.load("GUTS.so") generates an instance of the GUTS class. (How) Is it possible to generate (within R) several instances of this class? (E.g., we would like to consider several experiments, each of which is represented by an instance of GUTS.)

Thanks for help and advices, Sören

soeren.vogel at uzh.ch, carlo.albert at eawag.ch

More information about the R-help mailing list