Re: [Rd] Large number of linked environments makes save() crash R

2006-04-28 Thread Prof Brian Ripley
On Wed, 26 Apr 2006, Prof Brian Ripley wrote: > I think this is a C stack overflow problem. Probably needs a test added > internally to save(). I've added such a test and it is now caught. (You still cannot actually save such an object.) > I could not reproduce this on Linux: I got a C stack

Re: [Rd] Large number of linked environments makes save() crash R

2006-04-26 Thread Prof Brian Ripley
I think this is a C stack overflow problem. Probably needs a test added internally to save(). I could not reproduce this on Linux: I got a C stack overflow that was caught. On Wed, 26 Apr 2006, Henrik Bengtsson (max 7Mb) wrote: > Hi, > > first, this not a problem originating from me, but it

[Rd] Large number of linked environments makes save() crash R

2006-04-26 Thread Henrik Bengtsson (max 7Mb)
Hi, first, this not a problem originating from me, but it was observed trying to do similar things with my R.oo package, so I troubleshooted it and found the following. On R v2.3.0 (patched), the following will crash R on WinXP sooner or later: troubleLimit <- 20435; linkedList <- list(head=new