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
On 27.04.2011, at 11:59, soeren.vogel at uzh.ch wrote:> 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.)Hm, no comment so far. Is the question unclear? Did we miss something obvious? Is there other resources to post the issue to? Regards, Carlo/S?ren -- soeren.vogel at uzh.ch, carlo.albert at eawag.ch
On 28.04.2011, at 12:18, soeren.vogel at uzh.ch wrote:> On 27.04.2011, at 11:59, soeren.vogel at uzh.ch wrote: > >> 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.) > > Hm, no comment so far. Is the question unclear? Did we miss something obvious? Is there other resources to post the issue to? Regards, Carlo/S?renFor the files: the discussion continued here: https://stat.ethz.ch/pipermail/r-devel/2011-May/060922.html and is now here: http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2011-May/002261.html Regards S?ren -- soeren.vogel at uzh.ch, carlo.albert at eawag.ch