[Rpy] Substituting items in rpy2, R-style

2011-07-26 Thread Luca Beltrame
Hello, I'm trying to do the following in R mydataframe[mydataframe == 0] <- NA However, if I try to do the following in Python, with rpy2 mydataframe.rx[mydataframe.ro == 0] = robjects.NA_Logical I get a RRuntimeError: Error in is.atomic(value): 'value' is missing Is it a bug or am I doing s

Re: [Rpy] Substituting items in rpy2, R-style

2011-07-26 Thread Laurent Gautier
Hi, This is probably a bug. Can you report it so it does not get lost between now and the next time slot I have to look at it ? Thanks, Laurent PS: self-contained examples makes it easier to reproduce the problem On 2011-07-26 17:28, Luca Beltrame wrote: Hello, I'm trying to do the follo

Re: [Rpy] rpy2-2.2.2

2011-07-26 Thread Ekvinay Sayaraj
Laurent, when or how do i upgrade Rpy2 for Windows? Ekvinay > Date: Mon, 25 Jul 2011 16:33:58 +0200 > From: lgaut...@gmail.com > To: rpy-list@lists.sourceforge.net > Subject: [Rpy] rpy2-2.2.2 > > Hi, > > Rpy2-2.2.2, bugfix release in the 2.2.x series, is out. > It can be fectched from Pypi or

Re: [Rpy] rpy2-2.2.2

2011-07-26 Thread Laurent Gautier
https://bitbucket.org/lgautier/rpy2/issue/27/patch-to-fix-build-on-win32#comment-224288 L. On 2011-07-27 06:04, Ekvinay Sayaraj wrote: Laurent, when or how do i upgrade Rpy2 for Windows? Ekvinay > Date: Mon, 25 Jul 2011 16:33:58 +0200 > From: lgaut...@gmail.com > To: rpy-list@lists.sourcefo