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

2007-10-12 Thread José Matos
On Thursday 11 October 2007 16:46:25 Vince Fulco wrote: > Apologies for the delay as I receive this in digest format. > > I am using the pre-compiled version of RPY for Fedora Core 7 Extras > (0.4.6-17.FC7.X86_64) and have no way of reverting back to Python > version 2.4 easily.  Nor would I want t

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

2007-10-11 Thread Vince Fulco
Apologies for the delay as I receive this in digest format. I am using the pre-compiled version of RPY for Fedora Core 7 Extras (0.4.6-17.FC7.X86_64) and have no way of reverting back to Python version 2.4 easily. Nor would I want to being a relative Linux newbie. Don't want to mess with setting

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

2007-10-11 Thread David J. Scholl
FWIW, on WindowsXP, python 2.5 compiled by the python project, numpy 1.0.3.1 compiled by the numpy project, the version of rpy from Manuzhai: http://manuzhai.nl/files/rpy-1.0-RC3.win32-py2.5.exe (the rpy build from sourceforge crashes at import, so I used Manuzhai's build) I observe the same beh

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

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

2007-10-08 Thread Gregory Warnes
Something seems to be awry with Python 2.5. Can you check Python 2.4? -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 elementary calculations on a numpy array and am > getting the following error. > >

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

2007-10-08 Thread Vince Fulco
A review of the docs indicates that conversion s/b automatic. I am trying to do some elementary calculations on a numpy array and am getting the following error. >>> spartable2[:]['OO'] array([ 22.25, 5.75, -1.5 , -25. , -19.75, 8.5 , -38.75, 17.25, 18.75, -47. , 26.25, -3.75,