Displaying 1 result from an estimated 1 matches for "equildistcforodpair_2012_09_20v8".
2012 Sep 20
1
R/C++ interfaces: crashes when using .c(), followed by correct results when R restarted
...tline), 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_20v8.dll")
* Next, I deleted the .dll and the .o of the most recent version, I modified the C++ code and I ran the above procedure again.
* In most cases when R crashed, a new run of the procedure above resulted in correct results, even though the C++ code was not modified.
I have also noticed tha...