Displaying 1 result from an estimated 1 matches for "docomput".
Did you mean:
docompute
2005 Dec 09
3
external pointers
...the
calling R process ends.
Could anyone give me some pointers? I haven't found much documentation.
An earlier message suggested looking at simpleref.nw, but I can't find
that file.
So the overall pattern, from R, would look like
opaque <- setup(arg1, arg2, ....) # setup calls a C fn
docompute(arg1, argb, opaque) # many times. docompute also calls C
# and then when I return opaque and the memory it's wrapping get
#cleaned up. If necessary I could do
teardown(opaque) # at the end
"C" is actually C++ via a C interface, if that matters. In particular,
the memory allocat...