From tlumley at u.washington.edu  Mon Jan 24 17:37:59 2005
From: tlumley at u.washington.edu (Thomas Lumley)
Date: Mon Jan 24 17:38:05 2005
Subject: [Rd] Very Long Expressions
In-Reply-To: <Pine.LNX.4.61.0501241554410.3211@gannet.stats>
References: <67DCA285A2D7754280D3B8E88EB5480206741E31@MSGBOSCLB2WIN.DMN1.FMR.COM>
	<Pine.LNX.4.61.0501241554410.3211@gannet.stats>
Message-ID: <Pine.A41.4.61b.0501240835500.41726@homer03.u.washington.edu>

On Mon, 24 Jan 2005, Prof Brian Ripley wrote:

> On Mon, 24 Jan 2005, McGehee, Robert wrote:
>
> [Instructions to the R developers deleted.]
>
>> Secondly, the ?options help (thanks for everyone who reminded me about
>> this), says that expressions can have values between 25...100000.
>> 
>> However, if the original example is set past 4995 on my computers, I
>> receive a stack overflow.
>
> More accurately, you caused a protection stack overflow.
>

At one point we were concerned about overflowing the C stack if 
options(expressions=) were set too high.  I think this was in the days 
when MacOS had a very small stack, and that things are safer now.


 	-thomas


[Rd] Very Long Expressions
Thomas Lumley