[Rpy] Problems with rpy import in Debian

2006-10-20 Thread Felipe Ortega
Hello. I've got an error trying to import rpy in Debian (not in Windows, like some previous messages pointed out). The error message is: Python 2.3.5 (#2, Nov 20 2005, 16:40:39) >>> import rpy RHOME= /usr/lib/R RVERSION= 2.3.1 RVER= 2031 RUSER= /root Loading Rpy version 2031 .. Traceback (most r

[Rpy] Does anyone use logical vectors in RPY?

2006-11-05 Thread Felipe Ortega
Hello.I've got a problem with Python to R conversion on RPY.Suppose I create a Phython list, and then assign it to a R variable:bar=list(something)r.assign("foo", bar)Then I need to do the equivalen to this in R syntax:> barlow = bar[bari.e, I want to use a logical vector.With RPY in Python this do

[Rpy] plot(ecdf()) fails

2006-11-05 Thread Felipe Ortega
Well, it seems that today is my Murphy's law day.Imagine a Python list 'foobar' that contains values from some experiment.Then try to plot:r.plot(r.ecdf(foobar), xlab="LABELX", ylab="LABELY", do_points=r.FALSE,verticals=r.TRUE)So if this doesn't work properly, you can't even implement with RPY exam

Re: [Rpy] plot(ecdf()) fails

2006-11-05 Thread Felipe Ortega
Emm, I'm afraid I forgot to mention that the problem is that it plots the ecdf graphic, along with a lot of garbage numbers on it (so you almost cannot see the graphic).I would be grateful if anyone could help.Regards,Felipe.Felipe Ortega <[EMAIL PROTECTED]> escribió: Well, it seems that today is m