[R] Capturing coxph warnings and errors

Terry Therneau therneau at mayo.edu
Wed Jun 18 13:47:46 CEST 2008


Error in fitter(X, Y, strats, offset, init, control, weights = weights,  :
  NA/NaN/Inf in foreign function call (arg 6)
In addition: Warning message:
In fitter(X, Y, strats, offset, init, control, weights = weights,  :
  Ran out of iterations and did not converge

-------

  The warning message could be ignored.  However, I am very interested in the 
error message; it is one I have not seen before.  If you could recreate the data 
set that produces it and send it to be that would be useful.
  
  	Terry Therneau
  	(author of coxph)



More information about the R-help mailing list