Re: [R] strange `nls' behaviour

2007-11-13 Thread Joerg van den Hoff
On Mon, Nov 12, 2007 at 06:59:56PM -0500, Duncan Murdoch wrote: On 12/11/2007 2:56 PM, Joerg van den Hoff wrote: On Mon, Nov 12, 2007 at 11:09:21AM -0500, Duncan Murdoch wrote: On 11/12/2007 9:14 AM, Joerg van den Hoff wrote: On Mon, Nov 12, 2007 at 07:36:34AM -0500, Duncan Murdoch wrote: On

[R] strange `nls' behaviour

2007-11-12 Thread Joerg van den Hoff
I initially thought, this should better be posted to r-devel but alas! no response. so I try it here. sory for the lengthy explanation but it seems unavoidable. to quickly see the problem simply copy the litte example below and execute f(n=5) which crashes. called with n != 5 (and of

Re: [R] strange `nls' behaviour

2007-11-12 Thread Katharine Mullen
I can confirm this behavior on R-2.6.0 but don't have time to look into it further at the moment. On Mon, 12 Nov 2007, Joerg van den Hoff wrote: I initially thought, this should better be posted to r-devel but alas! no response. so I try it here. sory for the lengthy explanation but

Re: [R] strange `nls' behaviour

2007-11-12 Thread Martin Maechler
DM == Duncan Murdoch [EMAIL PROTECTED] on Mon, 12 Nov 2007 07:36:34 -0500 writes: DM On 11/12/2007 6:51 AM, Joerg van den Hoff wrote: I initially thought, this should better be posted to r-devel but alas! no response. DM I think the reason there was no response is that

Re: [R] strange `nls' behaviour

2007-11-12 Thread Joerg van den Hoff
On Mon, Nov 12, 2007 at 03:25:38PM +0100, Martin Maechler wrote: DM == Duncan Murdoch [EMAIL PROTECTED] on Mon, 12 Nov 2007 07:36:34 -0500 writes: DM On 11/12/2007 6:51 AM, Joerg van den Hoff wrote: I initially thought, this should better be posted to r-devel but alas!

Re: [R] strange `nls' behaviour

2007-11-12 Thread Katharine Mullen
On about line 547 in nls.R there is mf$formula - # replace by one-sided linear model formula as.formula(paste(~, paste(varNames[varIndex], collapse = +)), env = environment(formula)) If this is replaced with mf$formula - # replace by one-sided linear model

Re: [R] strange `nls' behaviour

2007-11-12 Thread Duncan Murdoch
On 11/12/2007 9:14 AM, Joerg van den Hoff wrote: On Mon, Nov 12, 2007 at 07:36:34AM -0500, Duncan Murdoch wrote: On 11/12/2007 6:51 AM, Joerg van den Hoff wrote: I initially thought, this should better be posted to r-devel but alas! no response. I think the reason there was no response is

Re: [R] strange `nls' behaviour

2007-11-12 Thread Joerg van den Hoff
On Mon, Nov 12, 2007 at 11:09:21AM -0500, Duncan Murdoch wrote: On 11/12/2007 9:14 AM, Joerg van den Hoff wrote: On Mon, Nov 12, 2007 at 07:36:34AM -0500, Duncan Murdoch wrote: On 11/12/2007 6:51 AM, Joerg van den Hoff wrote: I initially thought, this should better be posted to r-devel but

Re: [R] strange `nls' behaviour

2007-11-12 Thread Duncan Murdoch
On 12/11/2007 2:56 PM, Joerg van den Hoff wrote: On Mon, Nov 12, 2007 at 11:09:21AM -0500, Duncan Murdoch wrote: On 11/12/2007 9:14 AM, Joerg van den Hoff wrote: On Mon, Nov 12, 2007 at 07:36:34AM -0500, Duncan Murdoch wrote: On 11/12/2007 6:51 AM, Joerg van den Hoff wrote: I initially