Skip to content
Prev 37318 / 63424 Next

on the optim function

Dear useRs,

I have just discovered that the R optim function does not return the number of iterations. 

I still wonder why line 632-634 of optim C, the iter variable is not returned (for the BFGS method for example) ? 

Is there any trick to compute the iteration number with function call number?

Kind regards

Christophe

--
Christophe Dutang
Ph.D. student at ISFA, Lyon, France
website: http://dutangc.free.fr