Re: [Rpy] qt function and arguments

2009-02-04 Thread Laurent Gautier
[Just to stress that an issue similar to the one with NA_LOGICAL, fixed with 2.0.2, is *not* present here] 'FALSE' rather than False in the Python code is indeed the cause of the problem, but parameters in the signature of the function are not typed. 'FALSE' is passed to R as a string "FALSE",

Re: [Rpy] qt function and arguments

2009-02-04 Thread laurent oget
'FALSE' is a string, which somehow when converted to a boolean evaluates as True. How do you like: >>> kwargs={'df':25,'lower.tail':False} >>> print ro.r['qt'](0.05, **kwargs) [1] 1.708141 2009/2/4 Lindsey Bangay : > HI > > I am new to rpy2, but I would appreciate some assistance on this probl