Forgive this seemingly simple question for rpy2 ... how do you specify 'dotted' function arguments from python? I want to specify the na.action=na.omit for lme, but the python code below (which I though would be equivalent to that required by rpy) doesn't work for rpy2:
R: > fit = lme(fmla,data,randfmla,na.action=na.omit) Python: (fails) >>> fit = ro.r.lme(fmla,data,randfmla,na_action=ro.r.na_omit) I get an unused_argument(s) error for na_action. I figured the replacement of . by _ was still the trick, but after digging around, the "R packages as environments" section of the Rinterface doc hints this may no longer be the case ... -best Gary ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list