Re: [Rd] bug from nlm function (PR#9711)

From: Ben Bolker <>
Date: Tue, 29 May 2007 12:32:27 +0000 (UTC)

 <bla <at>> writes:

> Full_Name: bernardo moises lagos alvarez
> Version: 2.4.0
> OS: Windows XP professional
> Submission from: (NULL) (
> > nlm(fllwfuncHnew,p=c(1,20),x=xdat)
> Erro en log(b) : el argumento "b" está ausente, sin default
> ______________________________________________
> R-devel <at> mailing list

  This is not a bug. fllwfuncHnew's first argument should be a VECTOR with elements a and b (rather than passing a and b as separate arguments. From ?nlm:

     f: the function to be minimized.  [...]
          This should be a function of a vector of the
          length of 'p' followed by any other arguments specified by
          the '...' argument.

   Please try a little harder to make sure that a bug is a bug before reporting it as such ... mailing list Received on Tue 29 May 2007 - 12:36:16 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 Tue 29 May 2007 - 13:33:25 GMT.

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