[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


Hello

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:

http://sovo.md-hh.com/files/GUTS3.tar.bz

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