Re: [R] Error message from optim

2012-05-23 Thread Rubem Kaipper Ceratti
Ok, I feel kinda silly for not having thought of that before... Anyway, thanks, Peter. De: Peter Ehlers Cc: "r-help@r-project.org" Enviadas: Quarta-feira, 23 de Maio de 2012 19:22 Assunto: Re: [R] Error message from optim On 2012-05-23 09

Re: [R] Error message from optim

2012-05-23 Thread Peter Ehlers
On 2012-05-23 09:39, Rubem Kaipper Ceratti wrote: Dear list, When running the script below, the optim function returns the message 'Error in function (par) : could not find function "fn"'. I've re-read the code a few times and just can't figure out why it's happening. Any help/suggestion is ap

[R] Error message from optim

2012-05-23 Thread Rubem Kaipper Ceratti
Dear list, When running the script below, the optim function returns the message 'Error in function (par) : could not find function "fn"'. I've re-read the code a few times and just can't figure out why it's happening. Any help/suggestion is appreciated. Regards, Rubem ## R script library