[Rd] Very Long Expressions

Thomas Lumley tlumley at u.washington.edu
Mon Jan 24 17:37:59 CET 2005


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



More information about the R-devel mailing list