[Rd] Optimization in R

Thomas Lumley tlumley at u.washington.edu
Mon Aug 6 16:16:11 CEST 2007


On Mon, 6 Aug 2007, Petr Savicky wrote:

> Question.
>
> Is there a way how to optimize a function written in C
> using optim?

The algorithms used by optim are all accessible from C. The manual 
"Writing R Extensions" has a section on "The R API", including the 
optimization routines.

 	-thomas



More information about the R-devel mailing list