Hello all,

Are RPy bugs still being accepted on the sourceforge page?  I think I
found one when trying to do an rlm estimation.

I can provide code to (possibly) reproduce; however, the short version
is this.  Given the stackloss data from R datasets and a data frame
and formula given in the examples here
<http://sekhon.berkeley.edu/library/MASS/html/rlm.html>

from rpy import r
r.library('MASS')
results1 = r.rlm(formula, data=frame, psi="psi.huber")

# works correctly

results2 = r.rlm(formula, data=frame, psi="psi.bisquare")

# works correctly

results3 = r.rlm(formula, data=frame, psi="psi.hampel")

# raises exception

The last one raises the following exception, though this works fine at
the R intepreter.

RPy_RException: Error in x * wts : non-conformable arrays

Anyone have any idea if this is user error or a bug?

-Skipper

------------------------------------------------------------------------------
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to