search for: links_dist_calc

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

2012 Sep 20
1
R/C++ interfaces: crashes when using .c(), followed by correct results when R restarted
...sion.cpp - no problems occurred then. * Next, I loaded the dll 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(&quot...