On Tue, Oct 20, 2009 at 5:01 AM, Nick Schurch <n.schu...@dundee.ac.uk> 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 > > selecteddata = r['$'](genedata, R)
I only have experience with rpy2, but have you tried selecteddata = r['$'](genedata, 'R') (note the added quotes around 'R')? -- Nathaniel ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list