Skip to content

nlminb to optmin

3 messages · Stefan Pohl, Sundar Dorai-Raj, Douglas Bates

#
Stefan Pohl wrote:
What is "optmin"? Do you mean "optim"?

Either way, you can always try your function at the initial values 
outside of optim. If it returns Inf, you have a problem with your 
objective function. Have you considered that your objective function in 
S-PLUS didn't port the way you expected to R? I.e. if you call your 
objective function in S-PLUS and then in R, using the same inputs, do 
you get identical outputs?

--sundar
#
Stefan Pohl wrote:
I have a test version of a package available as

http://www.stat.wisc.edu/~bates/port_0.1-1.tar.gz

that provides nlminb for R.  If you can install packages from source
code then you may want to try that.  If you are running under Windows
and only install binary packages then we will need to ask for a
volunteer to create a Windows binary from the source package.

I do not plan to upload this package to CRAN.  Instead I plan to
incorporate nlminb into r-devel in time to have it become part of R-2.2.0