search for: r_preserved

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

2009 Nov 30
1
:Re: PROTECT and OCaml GC.
...have to be a functional language. To see it in use within a some-language-to-R bridge, you can check the source in JRI, rpy2. I can mostly speak for rpy2, and the way it is done there relies on both R and Python's GC. Creating a anonymous R object presented to the Python world is first "R_preserved" (from garbage collection from R) then using Python's reference counting mechanism, calling an "R_Release" whenever the Python wrapper is available for garbage collection (in fact there is a twist, but this is roughly the way it is working). In your case, you'll use the O...