Re: [R] nls(() and trace

From: Douglas Bates <bates_at_stat.wisc.edu>
Date: Thu 02 Jun 2005 - 00:42:24 EST

joerg van den hoff wrote:
> hi everybody,
>
> is there a canonical way to get hold of the "trace=TRUE" output from
> nls, i.e. to copy it to a R variable (or at least to an external log file)?
>
> I have only found the possibility to "fix(nlsModel)" (and than the
> correct copy of that: namespace function ...) within the R-session by
> modifying the trace() definition within nlsModel. not really good for
> everyday use ...
>
>
> regards,
> joerg
>
>
> ps: if this comes to douglas bates' attention: would'nt it be helpful to
> add the trace output as a further component(possibly optitional,
> depending on the trace flag) to the nls-object returned by nls()?

My immediate response was to say that it already was but then I checked the code and found that indeed it is not. Yes, this is a good idea and I will put it on the ToDo list but I should warn you that the list is rather long. If anyone else feels motivated to do this it would be most welcome.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jun 02 00:46:52 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:20 EST