[R] Error in optim(p, fun,...)

Tony Long tdlong at uci.edu
Tue Sep 25 19:53:44 CEST 2001


	I am getting an error code from the optimization function.  The code is

Error in optim(p,fun.LLike, lower=low, upper = up, method = "L-BFGS-B", :
          non-finite finite-difference value [0]

If I add a trace=6 option to my control list the last message before 
this error is:
          At X0, 0 variables are exactly at the bounds

Any ideas on where I should start would be appreciated.  Tony

Tony Long

Ecology and Evolutionary Biology
Steinhaus Hall
University of California at Irvine
Irvine, CA

Tel:  (949) 824-2562   (office)
Tel:  (949) 824-5994   (lab)
Fax: (949) 824-2181

email:  tdlong at uci.edu
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list