Section 6.8 of the writing R extensions manual mentions this:
6.8 Optimization
The C code underlying optim can be accessed directly. The user needs
to supply a function to
compute the function to be minimized, of the type
typedef double optimfn(int n, double *par, void *ex);
And also vmmin() an
Hello:
I am sure this question was dealt with several years ago. Is the function
vmmin() available from Rmath Standalone? If not is it possible to call
optim() or nlm() from Rmath in C. Thank you.
Mervyn
__
R-help@stat.math.ethz.ch mailing list