2008/3/4, Gregory Warnes <[EMAIL PROTECTED]>:
> Wow, Laurent, you've been doing a lot of work!

That's still a little rough and disorganised. It will get better.

>  On Mar 2, 2008, at 2:52PM , <[EMAIL PROTECTED]>
>  <[EMAIL PROTECTED]> wrote:
>  > (there is something odd going on, with variable names
>  > at the Python level suddenly pointing to nowhere - and
>  > this often ends in a segfault :/ )
>
>  Probably R is garbage collecting the R object.  Have you implemented
>  something like the R_References object used by RPy 1.X to maintain a
>  list of R objects?

I cannot rule out that this is happening, but I am using "R_PreserveObject"
that should prevent it from happening (in theory, and if I understood it right).
What is happening might have more to do with Python doing
garbage collection (the problem is more assigning a value to a variable
and the next minute calling the variable returns an error that the variable
cannot be found).

>  See the Robj_new and Robj_dealloc functions in src/rpymodule.c for
>  hos R_References is used.
>

I'll double-check with those.

Thanks,


L.


>  -G
>
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to