[Rpy] Handling of NA w/ get()

2009-01-27 Thread Jeff Gentry
Hi there ... I was looking to work with some of the Bioconductor annotation packages directly in Python and came across Rpy2. The first problem is just one of inexperience, I'm probably doing things all wrong and that could be the source of my issue :) I did just notice something odd: t = robje

Re: [Rpy] Handling of NA w/ get()

2009-01-27 Thread Jeff Gentry
> Good to see Bioconductor veterans here ! ;-) Hah. :) I hadn't realized until after I sent my message that you're the main developer for Rpy2. I stumbled across Rpy2 after stumbling across Rpy after looking into Duncan's RSPython package. > > Is this expected behavior (True replacing NA)? > De

[Rpy] data frame getting factorized

2009-01-30 Thread Jeff Gentry
Another one that I'm figuring is operator error on my part, but the last one wasn't so who knows :) I've been dealing with some data.frames w/ no real problem until now, where everything seems to be getting factorized (ie 0,1,2,etc instead of 'abc', 'def', 'ghi') coming across the linkage, presuma