Package: python-rpy Version: 1.0~rc3-2 Severity: normal On an amd64 system, run following script:
from rpy import * x = r.seq(-10, 10, length=60) y = r.seq(-8, 8, length=60) f = r('function(x,y) { r <- sqrt(x^2+y^2); sin(r)/r }') z = r.outer(x, y, f) r.png("image.png", width=480, height=340, bg="transparent") r.persp(x, y, z, theta = -15, phi = 35, expand = 0.5, col="#b0b0d0", axes=False, box=False) Instead of generating image.png, this will generate the following output: RHOME= /usr/lib/R RVERSION= 2.6.0 RVER= 2060 RUSER= /home/user Loading Rpy version 2060 .. Done. Creating the R object 'r' .. Done Warning messages: 1: In min(x) : no non-missing arguments to min; returning Inf 2: In max(x) : no non-missing arguments to max; returning -Inf Traceback (most recent call last): File "persp.py", line 9, in ? col="#b0b0d0", axes=False, box=False) rpy.RException: Error in persp.default(c(-10, -9.66101694915254, -9.32203389830508, -8.98305084745763, : invalid 'z' argument I tried downgrading the version of python-rpy on amd64 and the script executed without generating the error in versions up to and including python-rpy 1.0~rc2-1 with r-base-core version 2.5.1-2. The error first showed up in python-rpy 1.0-rc3-1 on amd64. I also tried this on i386, and as far as I can tell, this error does not show up in any version under i386. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.22-1-alyz-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages python-rpy depends on: ii libc6 2.6.1-5 GNU C Library: Shared libraries ii python 2.4.4-6 An interactive high-level object-o ii python-central 0.5.15 register and build utility for Pyt ii python-numpy 1:1.0.3-1 Numerical Python adds a fast array ii r-base-core 2.6.0~20070910-3 GNU R core of statistical computin python-rpy recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]