[Rd] on the optim function

Christophe Dutang dutangc at gmail.com
Fri Aug 6 11:14:37 CEST 2010


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



More information about the R-devel mailing list