From savicky at cs.cas.cz  Mon Aug  6 20:47:53 2007
From: savicky at cs.cas.cz (Petr Savicky)
Date: Mon, 6 Aug 2007 20:47:53 +0200
Subject: [Rd] Optimization in R
In-Reply-To: <Pine.LNX.4.64.0708060714040.28453@homer24.u.washington.edu>
References: <46B4A200.10109@stats.uwo.ca>
	<971536df0708041005h55c2488by76709cf4fb989690@mail.gmail.com>
	<46B4C2B2.3030109@stats.uwo.ca>
	<971536df0708041123n5d59b1ebw18618d6340b76300@mail.gmail.com>
	<46B4C56D.8020408@stats.uwo.ca>
	<971536df0708041153o174d73f5vd2c28f483a6bf6b6@mail.gmail.com>
	<46B4CFCD.2000202@stats.uwo.ca>
	<971536df0708041556q7faf64ber38bf0da574927adc@mail.gmail.com>
	<20070806060451.GA8447@cs.cas.cz>
	<Pine.LNX.4.64.0708060714040.28453@homer24.u.washington.edu>
Message-ID: <20070806184753.GA8759@cs.cas.cz>

Thank you for your response. This is a good idea. Although I use
my own packages, some of them using other R API's, I missed
the optimization ones. Thanks again.

Petr Savicky.

On Mon, Aug 06, 2007 at 07:16:11AM -0700, Thomas Lumley wrote:
> 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
>



[Rd] Optimization in R
Petr Savicky