search for: numzones

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

Did you mean: enumzones
2012 Sep 20
1
R/C++ interfaces: crashes when using .c(), followed by correct results when R restarted
...into R with dyn.load("C:\\Ccodefortransortmodel\\ mylatestversion.dll") * Next, I called equil_distC with testres2 <- .C("equil_distC", as.integer(rowmaxfiets),as.integer(colmaxfiets), as.double(nodes), as.integer(links_dist_calc), as.integer(cyclepathsfirstline), as.integer(numzones), as.integer(numnodes), as.integer(numlinks), result = double(6)) * About half of the time, whenever I had changed the C++ code, the results were either nonsensical or R crashed. * When R did not crash, I unloaded the dll with: dyn.unload("C:\\Ccodefortransortmodel\\equildistCforodpair_2012_09...