Re: [R] optim error

From: Karl Ove Hufthammer <>
Date: Mon, 02 Jun 2008 08:55:00 +0200

> p0<- c(f=0.87, b=0.1, c=150)
> f<-p[1]; b<-p[2]; c<-p[3]

Do *not* redefine the meaning of the function c() to 150, or to p[3]. If you do, very few things in R will continue to work properly!

Karl Ove Hufthammer

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 02 Jun 2008 - 06:59:07 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 02 Jun 2008 - 07:30:39 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive