Re: [Rpy] rpy2, numpy, and buffers

2010-02-13 Thread Nathaniel Smith
On Sat, Feb 13, 2010 at 9:55 PM, Laurent Gautier wrote: > Hi, > > rpy2-2.1.x will be dropping the "__array_struct__" way to export array > information from R arrays to numpy arrays, and use instead the new > buffer protocol in Python. > > This likely means that all numpy-related features in rpy2 w

[Rpy] rpy2, numpy, and buffers

2010-02-13 Thread Laurent Gautier
Hi, rpy2-2.1.x will be dropping the "__array_struct__" way to export array information from R arrays to numpy arrays, and use instead the new buffer protocol in Python. This likely means that all numpy-related features in rpy2 will only be supported with Python >= 2.6 and numpy >= 1.3, but thi

Re: [Rpy] More rpy2 install woes...

2010-02-13 Thread Laurent Gautier
On 2/11/10 12:10 PM, Nick Schurch wrote: > The high level unit tests fail for me with rpy2 v2.1.0alpha3, python > 2.6.4 and R 2.9.2: > > Python 2.6.4 (r264:75706, Feb 10 2010, 14:06:31) > [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 > Type "help", "copyright", "credits" or "license" for more i

Re: [Rpy] rpy2.1.0alpha3 install problem

2010-02-13 Thread Laurent Gautier
Hi, This is looking like might have not un-installed it properly prior to installing rpy2-2.1 (as the new __init__.py was trying to call the old C-level module). Did you follow those guidelines ? http://rpy.sourceforge.net/rpy2/doc-2.1/html/overview.html#upgrading-from-an-older-release-of-rpy2

[Rpy] rpy2.1.0alpha3 install problem

2010-02-13 Thread zahra sheikhbahaee
Hi, I had in my Kubuntu(linux) rpy '2.0.4' . I un-installed it and then I installed version rpy2.1.0alpha3 by this command : sudo python setup.py build install It seems that I could install it successfully but when I write this command : import rpy2.robjects.tests I get this reply : Traceback (