[R] demo(nlm) error under R 0.99.0
brian.o'gorman@noaa.gov
brian.o'gorman at noaa.gov
Tue Feb 8 00:11:31 CET 2000
I can't seem to get the demo(nlm) to run under R version 0.99.0
Anyone know a solution?
> fgh <- function(x) {
gr <- function(x1, x2) {
c(-400 * x1 * (x2 - x1 * x1) - 2 * (1 - x1), 200 * (x2 -
x1 * x1))
}
h <- function(x1, x2) {
a11 <- 2 - 400 * (x2 - x1 * x1) + 800 * x1 * x1
a21 <- -400 * .... [TRUNCATED]
> nlm(fgh, c(-1.2, 1), hessian = TRUE)
Segmentation fault (core dumped)
-------------- next part --------------
begin:vcard
n:O'Gorman;Joseph
x-mozilla-html:FALSE
org:NOAA NMFS AFSC RACE
adr:;;;;;;
version:2.1
email;internet:brian.o'gorman at noaa.gov
title:Computer Specialist
x-mozilla-cpt:;0
fn:Joseph O'Gorman
end:vcard
More information about the R-help
mailing list