Dear All,

I am in the process of translating some of my functions into C and one such function sometimes get stuck when I applied optim. The pure R codes work fine but the translated C codes occasionally get stuck and I like to find out why.

Is it possible to extract the parameters of function calculated in each step of the Nelder-Simplex algorithm, the trace option only produce the value of the objective function in each iteration? Is there a simple way to extract this information?

Any help greatly appreciated.

###########################################

Assistant Professor Steve Su

School of Mathematics and Statistics

Faculty of Engineering, Computing and Mathematics

M019, 35 Stirling Highway

Crawley, 6009, WA, Australia

Phone:+6164883369

http://www.uwa.edu.au/people/steve.suCRICOS Provider Code: 00126G

[[alternative HTML version deleted]]

______________________________________________

[hidden email] mailing list

https://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide

http://www.R-project.org/posting-guide.htmland provide commented, minimal, self-contained, reproducible code.