On Sun, Oct 2, 2011 at 4:17 PM, Thomas Kluyver <tak...@gmail.com> wrote:
> On 2 October 2011 20:47, W. Thornton Martin <w...@cornell.edu> wrote:
>>
>> z_month = r.aggregate(z1, r['as.yearmon'], r.mean, r['na.rm']=True)
>>
>> The "na.rm" part does not work, however.  What should the syntax be?
>
> I believe rpy2 converts . to _ to make things valid Python names. So try
> with na_rm=True.
>
> Thomas
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list
>
>

You can also do

func(..., **{'na.rm' : True})

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to