search for: dr_packag

Displaying 1 result from an estimated 1 matches for "dr_packag".

Did you mean: dr_package
2010 Mar 14
1
Segfault Problem c++ R interface (detailed)
...allMethodDef callEntries[] = { {"RSymbReg", (DL_FUNC) &RSymbReg, 14}, {NULL, NULL, 0} }; void R_init_testing(DllInfo *info) { R_registerRoutines(info, cEntries, callEntries, FortEntries, NULL); } void R_unload_testing(DllInfo *info) { } !!!!!!!!Makevars: PKG_CXXFLAGS="-DR_PACKAGE=1" 2) under R: one .R file which calls the function in the linker code using the .call function: SymbReg <- function(popSize = 100, nbrGen = 50, nbrPartTournament = 2, maxDepth = 17, minInitDepth = 2, maxInitDepth = 5, initGrowProba = 0.5, c...