Re: [Rpy] accessing data within a dataframe

2009-10-20 Thread Nathaniel Smith
On Tue, Oct 20, 2009 at 5:01 AM, Nick Schurch wrote: > I have a dataframe called 'genedata' with columns like '$R', '$G' and > '$Genes' and I want to be able to pass a specific column as a > parameter to a new R function. I've had a look at the manual and I > think I should be using something like

Re: [Rpy] How rpy2 is better than rpy?

2009-10-20 Thread Laurent Gautier
rpy2 is certainly different from rpy on a number of points. Whether this is for the better is for you to decide. There is currently no central point listing all differences, but hints at some of the most notable ones are at: http://rpy.sourceforge.net/rpy2/doc/html/robjects.html?highlight=conversi

Re: [Rpy] accessing data within a dataframe

2009-10-20 Thread Laurent Gautier
Bioconductor is using so-called "S4 objects" . Handling them in rpy2 is straightforward. L. PS: I am working on a bioconductor extension to rpy2, which may make the jump (even more) worthy. PPS: I had CLASS_CONVERSION issues in the past and did not manage to overcome them. Nick Schurch wrot

[Rpy] accessing data within a dataframe

2009-10-20 Thread Nick Schurch
HI all, I'm having some problems understanding how to access data inside a dataframe with rpy. I have a dataframe called 'genedata' with columns like '$R', '$G' and '$Genes' and I want to be able to pass a specific column as a parameter to a new R function. I've had a look at the manual and I thi