On Tue, Sep 29, 2009 at 5:28 PM, Gary Strangman <str...@nmr.mgh.harvard.edu> wrote: >>>> rpy2.robjects.r.lm(f,myframe, na.action=NULL) # fails; "keyword can't be >>>> an expression" >>>> rpy2.robjects.r.lm(f,myframe, na_action=NULL) # fails; "extra arguments >>>> na_action are just disregarded"
The underscore version works in rnumpy. In robjects, I think it's: lm.rcall(([None, f], [None, myframe], ["na.action", NULL])) or maybe a slightly nicer (?) version would be: lm(f, myframe, **{"na.action": NULL}) -- Nathaniel ------------------------------------------------------------------------------ Come build with us! The BlackBerry® 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/devconf _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list