I get the following error: rpy.RPy_RException: Error: variables ‘X3’, ‘X13’, ‘X29’, ‘X30’, ‘X33’, ‘X35’, ‘X36’, ‘X37’, ‘X43’, ‘X45’, ‘X50’, ‘X65’, ‘X66’, ‘X67’, ‘X68’, ‘X70’, ‘X71’, ‘X72’, ‘X73’, ‘X209’, ‘X210’, ‘X213’, ‘X214’, ‘X215’, ‘X216’, ‘X217’, ‘X223’, ‘X250’ were specified with different types from the fit
when running this code: set_default_mode(NO_CONVERSION) fit = r.multinom(formula=formula, data=alldata) r.predict(fit, newdata=testdata) alldata and testdata are converted to dictionaries from the same list. The code works as expected when I run it from the cli and use read.table. I notice that multinom converts them to factors, so I use as_factor and still get the same warning. Any suggestions on how I can fix this are appreciated. - Ed ------------------------------------------------------------------------------ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list