search for: rowmaxfiets

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

Did you mean: colmaxfiets
2012 Sep 20
1
R/C++ interfaces: crashes when using .c(), followed by correct results when R restarted
...ript with the C++ code, I compiled it using R CMD SHLIB mylatestversion.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 cra...