[S] memory problems using nlminb

Michael Herron (m-herron@nwu.edu)
Tue, 3 Mar 1998 11:22:55 -0600 (CST)

I am using nlminb to evaluate a likelihood function. Each evaluation
of the likelihood function requires numerous calls to integrate. The
logl function itself is

bigfunc _ function (coefs) {

## This is the function called by nlminb


where "retprob" returns the likelihood value. The problem is that I
keep receiving"

ErrorError in match.call: Unable to obtain requested dynamic memory (this request is
for 4088 bytes, 66468184 bytes already in use)
Error during wrapup

As suggested in s-news a week or so ago, I modified nlminb by adding
NULL to the four while loops. But, the modified nlminb crashes at the
same place that nlminb did.

Any ideas on how I can get nlminb to run?



This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news