[R] nls(() and trace

joerg van den hoff j.van_den_hoff at fz-rossendorf.de
Wed Jun 1 11:53:51 CEST 2005


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()?




More information about the R-help mailing list