[Rd] Suggestion for an extension of the API

Douglas Bates bates@stat.wisc.edu
26 Jan 2001 10:12:50 -0600

Adrian Trapletti <adrian@olsen.ch> writes:

> Especially for larger optimization problems, it would be nice to have an
> entry point for C/C++ code to the R optimizers (the ones which are called
> when using optim()), where the client just has to provide the functions
> fminfn() and fmingr() and calls directly, e.g., vmmin() (all from
> $RHOME/src/main/optim.c). Are there any plans for providing such an entry
> point?

There is such an entry point for the optimizer used by nlm.  It is
called optif9 and is declared in $RHOME/lib/R/include/R_ext/Applic.h

I can provide an example of its use if you wish.
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch