I'm in no way knowledgeable about python (or R) internals, but for me this 
smells like Rpy putting some parts of it's initialisation into memory areas 
which are also accessed by other parts of the python interpreter. And that 
probably shouldn't happen...



On 19 May 2011, at 23:18, Thomas Kluyver <tak...@gmail.com> wrote:

> On 19 May 2011 22:00, Laurent Gautier <lgaut...@gmail.com> wrote:
> 
> Does
> >>> import ri
> >>> ri.R_VERSION_BUILD
> correspond to the R version you are running rpy2 against ?
> 
> Yes: 2.12.1, svn rev 53855
>  
> Do you have older versions of rpy2 installed ? If yes, does removing them 
> solve the problem ?
> 
> I did have rpy2 2.1.9 installed from the repositories. Removing it doesn't 
> seem to change anything.
> 
> Extra info: before I do ri.initr(), ri.NA_Real is 0.0. Once I've done 
> initr(), ri.NA_Real appears as a small float. Additionally, once it's not 
> 0.0, it changes between successive evaluations. There appears to be a 
> repeating pattern: [a, a, b, b, nan], where a and b are different small 
> floats and nan is the special 'not a number' float value. a changes between 
> successive runs of the interactive shell, whereas b is consistent, at least 
> so far. But I guess there's not much to be gleaned from that.
> 
> Thomas
>  
> 
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its 
> next-generation tools to help Windows* and Linux* C/C++ and Fortran 
> developers boost performance applications - including clusters. 
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to