Re: [Rpy] Python to R: Conversion puzzle...

2007-10-09 Thread David J. Scholl
On 10/9/07, Matthew Brett <[EMAIL PROTECTED]> wrote: > Hi, > > > >>> x = numpy.array([1,2,3,4], dtype=numpy.float32) > > >>> rpy.r.mean(x) > > > > *** caught segfault *** > > 32 or 64 bit? > > Matthew > 32-bit Linux distribution (I think this is what you are asking) Dave ---

Re: [Rpy] Python to R: Conversion puzzle...

2007-10-09 Thread Matthew Brett
Hi, > >>> x = numpy.array([1,2,3,4], dtype=numpy.float32) > >>> rpy.r.mean(x) > > *** caught segfault *** 32 or 64 bit? Matthew - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find prob

Re: [Rpy] Python to R: Conversion puzzle...

2007-10-09 Thread David J. Scholl
On 10/9/07, Gregory Warnes <[EMAIL PROTECTED]> wrote: > > It sounds like your version of RPy may have been compiled without > NumPy support. Did you compile it yourself, or are you using a pre- > build version. > I have what appears to be a related issue. rpy 1.0RC3 using numpy 1.0.3 I compiled

Re: [Rpy] Python to R: Conversion puzzle...

2007-10-09 Thread Gregory Warnes
It sounds like your version of RPy may have been compiled without NumPy support. Did you compile it yourself, or are you using a pre- build version. -G On Oct 8, 2007, at 5:18PM , Vince Fulco wrote: > A review of the docs indicates that conversion s/b automatic. I am > trying to do some e

Re: [Rpy] Python to R: Conversion puzzle...

2007-10-09 Thread Reinder Brolsma
I reported this already before, but not yet as an official bug, but the latest rpy release in combination with Python 2.5 and Numpy does'nt work with float32, but it seems to work with float64. float32 results in unexpected results. Hopefully this will be fixed soon. Ciao Vince Fulco wrote: > A