From bates@stat.wisc.edu  Fri Jan 26 16:12:50 2001
From: bates@stat.wisc.edu (Douglas Bates)
Date: 26 Jan 2001 10:12:50 -0600
Subject: [Rd] Suggestion for an extension of the API
In-Reply-To: Adrian Trapletti's message of "Fri, 26 Jan 2001 15:56:45 +0100"
References: <3A71902D.87E0F755@olsen.ch>
Message-ID: <6rbssu9trx.fsf@franz.stat.wisc.edu>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Suggestion for an extension of the API
Douglas Bates