Re: [Rpy] rpy crashes on graphics

2008-02-28 Thread Wacek Kusnierczyk
Gregory Warnes wrote: > This bug should be corrected in the latest version of rpy. What > version are you using? > > 1.0.1 (picked by easy_install). vQ - This SF.net email is sponsored by: Microsoft Defy all challenges

Re: [Rpy] rpy crashes on graphics

2008-02-28 Thread Gregory Warnes
This bug should be corrected in the latest version of rpy. What version are you using? -G On Feb 28, 2008, at 10:39AM , Wacek Kusnierczyk wrote: > Hi, > > Having used rpy for just a while on Fedora 7, python 2.5, I discover > that it crashes on graphics functions such as plot, hist, etc. > >

[Rpy] rpy crashes on graphics

2008-02-28 Thread Wacek Kusnierczyk
Hi, Having used rpy for just a while on Fedora 7, python 2.5, I discover that it crashes on graphics functions such as plot, hist, etc. This simple code: r.plot(range(1000)) causes python to exit (not on all occasions, though) with this message: Error during wrapup: C stack usage is too close

Re: [Rpy] Rpy handling kmeans

2008-02-28 Thread Gregory Warnes
Hello Ding, It appears that either you don't have numpy properly installed, or that your copy of rpy was compiled without numpy support. A simple workaround for this specific case would be to turn of conversion of r to python objects, so that the object 'x' remains an r matrix, rather than

Re: [Rpy] package : survival

2008-02-28 Thread Gregory Warnes
The basic problem is that "survfit" is using deparse() to try to get the name of the Surv() object so it can generate an R formula. Unfortunately, this object doesn't have a name in R's namespace, so deparse() gets the structure representation instead of the name, and then things fail.