Hello, I'm trying to use adabag to make bagging and boosting with bagging() and adabost.M1(), respectively, but in both cases it produces an abnormal termination of R. My code is: bagging(I.NOSOCO~EDAD+SEXO+ESTANCIA+ADMISI?N+T.CIRUG?+DURACI?N+CONTAMIN +PROFILAX+E.PREOPE+V.PERIFE+V.CENTRA+S.VESICA+S.NASOGA+DREN.ABI+DREN.CER +VENTILAC+T.INMUNO+COMA+I.RENAL+DIABETES+NEOPLASI+EPOC+HEPATOPA+INMUNODE +HIPOPROT+OBESIDAD+INFECING+NDIAGNOS,data=Datos.RL) adaboost.M1(I.NOSOCO~EDAD+SEXO+ESTANCIA+ADMISI?N+T.CIRUG?+DURACI?N+CONTAMIN +PROFILAX+E.PREOPE+V.PERIFE+V.CENTRA+S.VESICA+S.NASOGA+DREN.ABI+DREN.CER+VENTILAC +T.INMUNO+COMA+I.RENAL+DIABETES+NEOPLASI+EPOC+HEPATOPA+INMUNODE+HIPOPROT+OBESIDAD +INFECING+NDIAGNOS,data=Datos.RL) Datos.RL is an adequate dataframe. The problem is solved if I reduce significatively the number of predictors, but I need to use all of them. Bagging is posible using ipred package with the same dataset, so I think the dataframe is not the problem. -- ------------------------------------ Prof. Dr. Antonio Jos? S?ez Castillo Dpto. de Estad?stica e Investigaci?n Operativa. Universidad de Ja?n Escuela Polit?cnica Superior de Linares. Dep. A-229 c/ Alfonso X El Sabio 28. 23700 LINARES (Ja?n). ESPA?A. Tfno. 953 648578. Fax 953 648578 http://www4.ujaen.es/~ajsaez/